[erlang-questions] Logs and stdout [OFFTOPIC]
Richard A. O'Keefe
Tue Nov 29 03:05:46 CET 2016
On 25/11/16 11:34 PM, Alexander Petrovsky wrote:
> - Hey, boy, did you know about 12 app factor (*oh my god*)?
"12-factor app" was not handed down on Mt Sinai;
Jibril did not dictate it to the Prophet;
Joseph Smith Jr never found it on the golden plates.
Heck, even Raël never heard about it from the elohim.
"12-factor app" is OPINION.
Using lager, the vast bulk of your code doesn't know and
doesn't care where the logs are going. It *can* go to
stdout if that's what you want.
On the other hand, if you need log rotation and such,
and you only write to stdout, then you have to depend
on something outside your application to do it.
stdout is where information is sent to die. (:-)
More information about the erlang-questions