[ 
https://issues.apache.org/jira/browse/DERBY-3388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575734#action_12575734
 ] 

Knut Anders Hatlen commented on DERBY-3388:
-------------------------------------------

Thanks for the updated patch, Jørgen. I'll run some sanity checks and commit it.

One final nit:

Since ReplicationLogBuffer.DEFAULT_NUMBER_LOG_BUFFERS is static, I guess it's 
better if we replace
+        int buffers = logBuffer.DEFAULT_NUMBER_LOG_BUFFERS;
with
    int buffers = ReplicationLogBuffer.DEFAULT_NUMBER_LOG_BUFFERS;

> Improve message handling for replication messages to derby.log
> --------------------------------------------------------------
>
>                 Key: DERBY-3388
>                 URL: https://issues.apache.org/jira/browse/DERBY-3388
>             Project: Derby
>          Issue Type: Improvement
>          Components: Replication
>    Affects Versions: 10.4.0.0
>            Reporter: Jørgen Løland
>            Assignee: Jørgen Løland
>            Priority: Minor
>         Attachments: derby-3388-tstamp-and-properties-1a.diff, 
> derby-3388-tstamp-and-properties-1a.stat, 
> derby-3388-tstamp-and-properties-1b.diff, 
> derby-3388-tstamp-and-properties-1b.stat, 
> derby-3388-tstamp-and-properties-1c.diff, 
> derby-3388-tstamp-and-properties-1c.stat
>
>
> The asynchronous replication functionality writes information to the derby 
> log. It would be good to improve this in the following ways:
> 1: startSlave and stopSlave stack traces are written twice to the log - one 
> is obviously enough :)
> 2: It should be possible to configure if replication messages written to the 
> log should be followed by a stack trace of the cause.
> 3: logged messages should have a timestamp 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to