Format Log Statements

Currently before every log statement I get the date and full package/classname outputted to the log.
Is there an option to NOT output these statements to the log?

3 comments

Hi,

If you're talking about log4j logs, you may specify alternate log format in Log4J configuration file.
Log4J logging in TeamCity is described at
http://www.jetbrains.net/confluence/display/TCD/LogsofInternal+Events

If you're talking about web-based log, I'm not sure I grasp what you mean under "full package/classname" - these are shown only for test output. For tests I'd recommend using build results page to view test information.

Kind regards,
KIR

0

Does TeamCity support java.util.logging.config files instead of log4j or do I have to try and convert?

0

TeamCity supports only Log4J logging.

0

Please sign in to leave a comment.