Hello,

Probably by history aspects Jenkins builds log files have never used
timestamps entries on log lines. There are some plugins that adds this
feature, but using a kind of separate additional data, I still miss a plain
timestamp in the log file.

I see three main reasons to implement this feature:

1. Using a timestamp entry at the beginning of the line in logs is a kind
of "standard" in the Java world (all well known loggers do it by default).
2. They are really useful when you have to find an issue and don't have
access to the Jenkins UI, all you have is that log file.
3. Most of the logs analysis tools require a timestamp entry on each log
line.

My intention is:
1. Use a custom (overridden) PrintStream on StreamTaskLinstener
2. Provide a way to activate or deactivate this feature by configuration
(it would be disabled by default in order to not break anything working
before).

I'm writing this, because, as I see it, it would require a core change
(StreamTaskListener mainly and some top level configuration), so I'd like
to know what the community thinks about it.

Regards,
Antonio.

-- 
Antonio Muñiz
Software Engineer
CloudBees, Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAJc7kzT3L5i_oa7t%2B40J_5Z4JqGtOBE-%2BZ5Xpavf866WH05LxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to