Erlang doesn't have a clue about <span></span>your .1 file.<div>See more about your log rotation program.</div><div>Also your log file doesn't look like a sasl or error logger file...</div><div><br></div><div><br><br>
On Sunday, March 10, 2013, Valentin Kuznetsov  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I built OTP application using rebar build tool and when I'm running on UNIX systems (both OSX and Linux) I see that created erlang.log.1 file has dos '\r' carriage return symbols in every line. I look-up on a web and did not find any reference about such behavior. I'll appreciate any suggestions why this happens (I don't think it's related to my application per-se and rather feel that it's somehow introduced by rebar, but I'm not sure). The carriage return symbols appears right after logging started message and follow up ever line after that. Here is an example of the head of my log.<br>

<br>
=====<br>
===== LOGGING STARTED Sat Mar  9 20:55:02 EST 2013<br>
=====<br>
Exec: /Users/vk/Work/Languages/Erlang/urlfetch/rel/urlfetchd/erts-5.9.3/bin/erlexec -boot /Users/vk/Work/Languages/Erlang/urlfetch/rel/urlfetchd/releases/1/urlfetchd -mode embedded -config /Users/vk/Work/Languages/Erlang/urlfetch/rel/urlfetchd/etc/app.config -args_file /Users/vk/Work/Languages/Erlang/urlfetch/rel/urlfetchd/etc/vm.args -- console^M<br>

Root: /Users/vk/Work/Languages/Erlang/urlfetch/rel/urlfetchd^M<br>
Erlang R15B03 (erts-5.9.3) [source] [64-bit] [smp:2:2] [async-threads:5] [hipe] [kernel-poll:true]^M<br>
^M<br>
^M<br>
<br>
Thanks,<br>
Valentin.<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'erlang-questions@erlang.org')">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>