Why would you want to introduce synchronization into this?  Clearly
serializing didn't help (since these things are put in one queue and popped
off one at a time <-- at least it used to be).  Synchronization isn't going
to do much better probably.

If you want it separated by line, then just do everything on one line and
add a "\n" (or grabbing the appropriate separator) at the right points.
That's probably the only way to guarantee the correct behavior.

On Mon, May 3, 2010 at 3:53 PM, Patrick Berry <[email protected]> wrote:

>
>
> On Mon, May 3, 2010 at 12:46 PM, Marvin Addison 
> <[email protected]>wrote:
>
>> I'd argue Slf4jLoggingAuditTrailManager that's included with Inspektr
>> would be entirely suitable for production use with the addition of a
>> lock around all the logger.info statements.  Why not just fix/improve
>> that one and have it included with the library?  (I guess it's a
>> little more work to shepherd the changes to inspektr, but you get good
>> karma, right?)
>>
>> M
>>
>>
>
> Looks like a potential fix is already being tested in the library.
>
> http://github.com/dima767/inspektr/issues#issue/3
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to