Skip to content

Commit

Permalink
ops: fix mongodb log file name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel committed Nov 23, 2021
1 parent 9da3b42 commit 3326469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/log.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
log4perl.rootLogger= sub {return ($ENV{LOG_LEVEL_ROOT} // "ERROR") . ", LOGFILE";}
log4perl.logger.mongodb= sub {return ($ENV{LOG_LEVEL_ROOT} // "INFO") . ", MOGODB_LOGFILE";}
log4perl.logger.mongodb= sub {return ($ENV{LOG_LEVEL_ROOT} // "INFO") . ", MONGODB_LOGFILE";}
log4perl.PatternLayout.cspec.S = sub { my $context = Log::Log4perl::MDC->get_context; use Data::Dumper (); local $Data::Dumper::Indent = 0; local $Data::Dumper::Terse = 1; local $Data::Dumper::Sortkeys = 1; local $Data::Dumper::Quotekeys = 0; local $Data::Dumper::Deparse= 1; my $str = Data::Dumper::Dumper($context); $str =~ s/[\n\r]/ /g; return $str; }
log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
log4perl.appender.LOGFILE.filename=/mnt/podata/logs/log4perl.log
Expand Down

0 comments on commit 3326469

Please sign in to comment.