error_logger and sasl

klacke <>
Mon Jun 6 21:53:37 CEST 2005


On Thu, Jun 02, 2005 at 09:52:05PM -0400, Serge Aleynikov wrote:
> I would like to be able to ensure that the content of a log file 
> produced by the error_logger and sasl doesn't get overwriten when a node 
> is restarted.  Upon examining the error_logger_file_h.erl I found that a 
> log file is being open with a 'write' option that causes the log file to 
> be truncated:


In my n.s.h.o this behaviour is completely broken.
In Yaws I fixed this with yaws_log_file_h.erl, take a
look at that file because I don't think the OTP crew
will ever change this since it's a backwards non compat change ..
.. 


/klacke


-- 
Claes Wikstrom                        -- Caps lock is nowhere and
http://www.hyber.org                  -- everything is under control          



More information about the erlang-questions mailing list