Results 1 to 2 of 2

Thread: Logging files

  1. #1

    Default Logging files

    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?

    Thanks,

    Steve
    Last edited by steveroderick; Oct 14th, 2010 at 12:59 PM.

  2. #2
    Join Date
    Oct 2010
    Posts
    10

    Default 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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •