forked from metabase/metabase
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DGPB-1702] Metabase logs are losing in discovery logs (#82)
- Loading branch information
1 parent
be1bb9d
commit eabc997
Showing
4 changed files
with
74 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Configuration status="WARN"> | ||
<Appenders> | ||
<Console name="Console" target="SYSTEM_OUT"> | ||
<PatternLayout pattern="%d{MM-dd HH:mm:ss} \u001b[1m%p %c{2}\u001b[0m :: %m%n" /> | ||
</Console> | ||
|
||
<RollingFile name="File" fileName="${logfile.path}/metabase.log" | ||
filePattern="metabase-%d{yyyy-MM-dd}.%i.log"> | ||
<PatternLayout pattern="%d [%t] %-5p%c - %m%n" /> | ||
<Policies> | ||
<TimeBasedTriggeringPolicy /> | ||
<SizeBasedTriggeringPolicy size="500 MB" /> | ||
</Policies> | ||
</RollingFile> | ||
|
||
</Appenders> | ||
|
||
<Loggers> | ||
|
||
<Logger name="metabase.driver" level="info" additivity="false"> | ||
<AppenderRef ref="File" /> | ||
<AppenderRef ref="Console" /> | ||
</Logger> | ||
<Logger name="metabase.middleware" level="debug" additivity="false"> | ||
<AppenderRef ref="File" /> | ||
<AppenderRef ref="Console" /> | ||
</Logger> | ||
|
||
<Logger name="metabase.models.permissions" level="info" additivity="false"> | ||
<AppenderRef ref="File" /> | ||
<AppenderRef ref="Console" /> | ||
</Logger> | ||
<Logger name="metabase.query-processor.permissions" level="info" additivity="false"> | ||
<AppenderRef ref="File" /> | ||
<AppenderRef ref="Console" /> | ||
</Logger> | ||
<Logger name="metabase.query-processor" level="info" additivity="false"> | ||
<AppenderRef ref="File" /> | ||
<AppenderRef ref="Console" /> | ||
</Logger> | ||
<Logger name="metabase.sync" level="info" additivity="false"> | ||
<AppenderRef ref="File" /> | ||
<AppenderRef ref="Console" /> | ||
</Logger> | ||
<Logger name="metabase.models.field-values" level="info" additivity="false"> | ||
<AppenderRef ref="File" /> | ||
<AppenderRef ref="Console" /> | ||
</Logger> | ||
<Logger name="metabase" level="info" additivity="false"> | ||
<AppenderRef ref="File" /> | ||
<AppenderRef ref="Console" /> | ||
</Logger> | ||
|
||
<Logger name="com.mchange" level="error" additivity="false"> | ||
<AppenderRef ref="File" /> | ||
<AppenderRef ref="Console" /> | ||
</Logger> | ||
|
||
<Root level="WARN"> | ||
<AppenderRef ref="Console" /> | ||
</Root> | ||
|
||
</Loggers> | ||
</Configuration> |