Oct 14th, 2010, 11:46 AM
In the Cloud Foundry console the View Log displays a very old log file. I cannot find any log files that are current on the CENTOS file system. Is logging turned off by default? Where are the log files - in the standard logs folder of tcServer?
On my local dev system I use log4j with a log4j.xml file. I have also used the juli implemenatation with logging.properties. Which one one should I use with tcServer? Would having a log4j.xml file in my app be screwing things up?
Last edited by steveroderick; Oct 14th, 2010 at 12:59 PM.
Oct 15th, 2010, 11:08 AM
What is your deployment topology?
Is it single instance or multiple instances?
I have found that the log file for the deployment looks old because it only contains the deployment logs, whereas the log files for the application tier contain up-to date information.
Remember that logging also only logs error logs by default, the log4j setup in the Config.groovy file is being ignored, so if you really want to see logs, easiest way I have found is to log with log.error. If you find out how to get other log levels to show up in the log files, let me know...