[erlang-questions] Prevent overwriting sasl log on VM restart?

Serge Aleynikov serge@REDACTED
Fri Jul 18 05:02:17 CEST 2014


I wrote the attached patch when I dealt with the same issue last year.
Haven't had time to submit this in a "proper" way.

It adds the following option to the sasl config:

{file, Filename, Modes}

where Modes are the modes the filename is open with. Use [append] for
appending on startup.

Regards,

Serge


On Thu, Jul 17, 2014 at 5:32 PM, Youngkin, Rich <
richard.youngkin@REDACTED> wrote:

> Is there a way, other than using the built-in log rotate mechanism or
> something like lager, to avoid having the sasl log overwritten when the VM
> is re/started?
>
> Thanks,
> Rich
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140717/76a42bab/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sasl.patch
Type: application/octet-stream
Size: 3702 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140717/76a42bab/attachment.obj>


More information about the erlang-questions mailing list