Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pion.http.server logger name does not work with log4cplus #127

Closed
JRGit4UE opened this issue Jun 20, 2018 · 1 comment
Closed

pion.http.server logger name does not work with log4cplus #127

JRGit4UE opened this issue Jun 20, 2018 · 1 comment

Comments

@JRGit4UE
Copy link

Configuring the log4cplus logger of the http-server, which is named pion.http.server does not seem to work, because of the '.' seperator in the logger name. Maybe it's better to rename it to pion-http-server
(all within server.hpp)

@JRGit4UE
Copy link
Author

My bad, I was not aware of how to configure cascades of loggers properly, as it is not published at the log4cplus repo...
Trying the following config did it
"log4cplus.logger.test.abc=INFO, out\n" // create logger test and abc with appender out
"log4cplus.appender.out=log4cplus::FileAppender\n" // configure out
"log4cplus.appender.out.File=xxx.log\n"
"log4cplus.additivity.test.abc=true\n" // Allow bubble up
"log4cplus.quietMode=false\n" // general flag
"log4cplus.logger.test=INFO, ttt\n" // configure test to appender ttt
"log4cplus.appender.ttt=log4cplus::ConsoleAppender\n" /// configure ttt

firedaemon-cto pushed a commit to FireDaemon/pion that referenced this issue Aug 27, 2020
…plunk#126)

* initial set of core changes for constexpr support (issue splunk#123)

* fixes for constexpr core support based on ci failures (issue splunk#123)

* drive by fix for gcc9.2 warning on polymorphic exception

* fixes for constexpr core support based on for cpp11 and cpp14 build variants (issue splunk#123)

* more fixes for constexpr core support  (issue splunk#123) - also fix for issue splunk#124

* next round of changes for constexpr core support (issue splunk#123)

* fix last msvc regression for constexpr core

* driveby fix to remove detail include

* 3rd round of changes for constexpr

* yet another msvc fix for cpp14

* minor doc fix for issue splunk#127 - tm_isddst -> tm_isdst

* minor doc fix for issue splunk#127 - tm_isddst -> tm_isdst

* push constexpr deep into the library including date, ptime (issue splunk#123)

* push constexpr deep into the library including date, ptime (issue splunk#123)

* fix latests regressions from constexpr changes in older gcc
firedaemon-cto pushed a commit to FireDaemon/pion that referenced this issue Aug 27, 2020
* change gettimeofday to be clearer - issue splunk#127

* clarify date_number docs - github issue splunk#125

* add docs for from_iso_extended_string function - issue splunk#116

* update documentation for 1.73 release - changes.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant