[jbossts-issues] [JBoss JIRA] (JBTM-2318) Too verbose startup?

Tom Jenkinson (JIRA) issues at jboss.org
Tue Oct 27 06:22:00 EDT 2015


    [ https://issues.jboss.org/browse/JBTM-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121997#comment-13121997 ] 

Tom Jenkinson edited comment on JBTM-2318 at 10/27/15 6:21 AM:
---------------------------------------------------------------

The pull request is to demote some of the log messages.

To actually change the format of the logger users can configure the JDK logger however they would normally do so. For example I found this useful:  
{code}
-Djava.util.logging.SimpleFormatter.format="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %5$s%6$s%n"
{code}

Alternatively they could replace the entire default JAVA_HOME/lib/logging.properties file with java.util.logging.config.file.

I am reluctant to make our scripts do the former as it would seem to override their system defaults.


was (Author: tomjenkinson):
The pull request is to demote some of the log messages.

To actually change the format of the logger users can configure the JDK logger however they would normally do so. For example I found this useful:  -Djava.util.logging.SimpleFormatter.format="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %5$s%6$s%n"

Alternatively they could replace the entire default JAVA_HOME/lib/logging.properties file with java.util.logging.config.file.

I am reluctant to make our scripts do the former as it would seem to override their system defaults.

> Too verbose startup?
> --------------------
>
>                 Key: JBTM-2318
>                 URL: https://issues.jboss.org/browse/JBTM-2318
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>          Components: Transaction Core
>    Affects Versions: 5.0.4
>            Reporter: Mark Little
>            Assignee: Tom Jenkinson
>            Priority: Minor
>             Fix For: 5.next
>
>
> At startup of the most basic example we see ...
> Dec 17, 2014 8:23:50 PM com.arjuna.ats.arjuna.recovery.TransactionStatusManager addService
> INFO: ARJUNA012163: Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 52185
> Dec 17, 2014 8:23:50 PM com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem <init>
> INFO: ARJUNA012337: TransactionStatusManagerItem host: 127.0.0.1 port: 52185
> Dec 17, 2014 8:23:50 PM com.arjuna.ats.arjuna.recovery.TransactionStatusManager start
> INFO: ARJUNA012170: TransactionStatusManager started on port 52185 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
> There's a separate conversation to be had about whether the INFO should be there (DEBUG maybe?) but ignoring those why do we print the other lines at all?



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossts-issues mailing list