Monday, 19 August 2013

How to configure wso2 servers logging the same level of detail as console output in wso2carbon.log file

How to configure wso2 servers logging the same level of detail as console
output in wso2carbon.log file

When we run the bin/wso2server.sh file in a terminal, we get nice verbose
logging output in the same terminal which is very useful for debugging.
But the output in the repository/log/wso2carbon.log file is minimal. I
have checked all the other files in the repository/log/ directory and none
have the same level of verbosity as the console output.
I tried settings under Home > Configure > Logging after logging in to the
management console of wso2 application server. Specifically I set the
settings for "Configure Log4J Appenders" for CARBON_LOGFILE to be the same
as for CARBON_CONSOLE but this did not have desired effect. The web
application level info and debug messages are shown on the terminal from
where we started the wso2 application server but this is not shown in the
wso2carbon.log file.
How do we get the same level of detail i.e. verbose output like we get in
the terminal into the repository/log/wso2carbon.log file?

No comments:

Post a Comment