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

Serge Aleynikov serge@REDACTED
Sun Jul 20 14:59:18 CEST 2014


I haven't tested it in R15B, but see no reason it shouldn't work as that
SASL functionality has been in the distribution for ages.


On Fri, Jul 18, 2014 at 9:17 AM, Youngkin, Rich <
richard.youngkin@REDACTED> wrote:

> Hi Serge,
>
> Thanks for the patch.  Do you know if this will work on R15B?  I'll
> probably give it a test spin in any case.
>
> Thanks again,
> Rich
>
>
> On Thu, Jul 17, 2014 at 9:02 PM, Serge Aleynikov <serge@REDACTED>
> wrote:
>
>> 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/20140720/98d48af5/attachment.htm>


More information about the erlang-questions mailing list