[slf4j-user] Serializable log adapters

Jeremy Booth jeremy at computerbooth.com
Sun Mar 11 23:29:03 CET 2007


Hi

I'm currently using JCL, but I'm about to include in my own project,
another library that uses slf4j. It seems to make sense to only use 1
façade. Unfortunately, the slf4j loggers and adapters do not implement
serializable, which causes issues with my back end code that stores my
objects to a database using serialisation (not my code, so can't be
changed).

Is there a reason why the adapters don't implement serializable other
than a lack of demand? Would it be possible to make them serializable so
I can switch?, looking at the javadocs I assume it would be the logger
adapter implementations, org.slf4j.spi.LocationAwareLogger and
org.slf4j.Logger that would need the change.

I have the source and can do the change, I'm just checking on the
technical issues that I may not understand as I am new to the API.

Thanks

Jeremy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20070311/353acd54/attachment.pgp>


More information about the slf4j-user mailing list