dab246
4c0fa41d5b
refactor(logging): move LogRecord construction into LogRecord.build factory
2026-04-28 11:31:12 +07:00
dab246
1b4723ef05
fix(logging): restore per-call webConsoleEnabled as first-class flag
...
webConsoleEnabled was deprecated in favour of a global constructor flag,
but that removed the ability to force specific log calls visible on web
in release/profile mode — a legitimate need for auth and Sentry init
diagnostics.
Carry webConsoleEnabled through the full pipeline:
LogRecord → buildLogRecord → _dispatch → public log functions.
ConsoleLogHandler reads the flag from the record rather than from its
constructor, so per-call opt-in works independently of build mode.
On web:
- handles() always returns true (filter deferred to handle())
- handle() prints only when record.webConsoleEnabled || isDebugMode
Existing call sites (authorization_interceptors, sentry_config) that
pass webConsoleEnabled: true are preserved and functional again.
2026-04-28 11:31:12 +07:00
dab246
eb329d8a48
fix(logging): deprecate per-call webConsoleEnabled parameter
...
Web console output is now configured globally via ConsoleLogHandler
at startup. The parameter is retained for source compatibility.
2026-04-28 11:31:12 +07:00
dab246
2e0f419281
refactor(logger): delegate app_logger public API to AppLoggerRegistry (ADR-0078)
2026-04-28 11:31:12 +07:00
dab246
c9ec1c2820
TF-4268 Improve SentryConfig and SentryManager: sampling, frames tracking, non-blocking capture
2026-04-09 14:16:41 +07:00
Dat H. Pham
b14bb6acc0
Update ADR for OIDC token refresh
2026-02-10 16:58:58 +07:00
dab246
e55283abb8
fix: Add log trace to send log to Sentry and print to web console for validate refresh token
2026-02-10 16:58:58 +07:00
dab246
fedb8fed93
TF-4136 Apply early exit to prevent string operation in log
2026-01-15 09:46:51 +07:00
dab246
ec75bb3cab
TF-4136 Add config Sentry
2026-01-15 09:46:51 +07:00
dab246
a23d15a9ca
TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
2026-01-06 13:53:22 +07:00
dab246
73dcb6067c
TF-4136 refactor(logger): unify logging format and route error reporting
2026-01-06 13:53:22 +07:00
dab246
b7b6b0f7fa
TF-3416 Handle download attachment in EML previewer on web
2025-02-05 03:00:08 -08:00
dab246
0ce99c745c
TF-3416 Persist preview EML content when make reload page action
2025-02-05 03:00:08 -08:00
dab246
a6bf3160f3
Fix: Rename TeamMail to TwakeMail
...
Signed-off-by: dab246 <tdvu@linagora.com >
(cherry picked from commit 5eecba3ab1 )
2024-01-12 13:49:03 +07:00
dab246
7c2955585f
TF-2129 Fix print log on mobile
...
(cherry picked from commit a40f9aeec2 )
2023-09-14 16:58:31 +07:00
dab246
bacf448b33
TF-1984 Update logger by standard format
...
(cherry picked from commit 08110ffa71 )
2023-09-14 16:58:31 +07:00
dab246
566575fcb9
Make the beautify logging tool
...
(cherry picked from commit 3322703de8 )
2023-09-14 16:58:31 +07:00
dab246
37334d3c66
TF-1912 Only trigger log when debug logs are enabled
...
(cherry picked from commit 949034a802 )
2023-07-19 10:23:07 +07:00
dab246
2b71aba278
TF-1487 Apply linter rule
2023-03-10 21:10:36 +07:00
Dat PHAM HOANG
45fcd6774a
TF-320 Move app_logger to core
2022-03-14 16:28:09 +07:00