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 tests with log4cplus does not print anything to log #95

Open
RobertNilssonGin opened this issue Jul 29, 2015 · 0 comments
Open

pion tests with log4cplus does not print anything to log #95

RobertNilssonGin opened this issue Jul 29, 2015 · 0 comments

Comments

@RobertNilssonGin
Copy link

Seen in both develop and release 5.0.6.
My environment is Debian 7.0 x86_64.

Configure pion to use log4cplus. Then run make check. The output I get is:

log4cplus:ERROR No appenders could be found for logger (pion.FileService).
log4cplus:ERROR Please initialize the log4cplus system properly.
log4cplus:ERROR Derived Appender did not call destructorImpl().
log4cplus:ERROR Derived Appender did not call destructorImpl().

It seems to me that you are expected to set the appender before getting the logger with the macro PION_LOG_CONFIG_BASIC or with the PION_LOG_CONFIG(FILE).
Or are unit tests only supposed to be executed using --with-ostream-logging?

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