Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Remove faulty lager_console_backend logging handler
Browse files Browse the repository at this point in the history
- it does not work with our version of erlang (see https://github.com/basho/lager/pull/139)
- the remaining lager_file_backends route all logging to files
[#64946316]
  • Loading branch information
Alex Stupakov authored and Alex Stupakov committed Apr 3, 2014
1 parent ef92428 commit 163af97
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
15 changes: 10 additions & 5 deletions jobs/riak-cs/templates/riak.app.config.erb
Expand Up @@ -221,11 +221,16 @@
%% and the rotation time to "", or instead specify a 2-tuple that only
%% consists of {Logfile, Level}.
{handlers, [
{lager_console_backend, info},
{lager_file_backend, [
{"/var/vcap/sys/log/riak/error.log", error, 10485760, "$D0", 5},
{"/var/vcap/sys/log/riak/console.log", info, 10485760, "$D0", 5}
]}
{lager_file_backend, [{file, "/var/vcap/sys/log/riak/error.log"},
{level, error},
{size, 10485760},
{date, "$D0"},
{count, 5}]},
{lager_file_backend, [{file, "/var/vcap/sys/log/riak/console.log"},
{level, info},
{size, 10485760},
{date, "$D0"},
{count, 5}]}
]},

%% Whether to write a crash log, and where.
Expand Down
1 change: 0 additions & 1 deletion jobs/riak-cs/templates/riak_cs.app.config.erb
Expand Up @@ -193,7 +193,6 @@
%%
%% {lager_syslog_backend, ["riak", local1, info]}
{handlers, [
{lager_console_backend, info},
{lager_file_backend, [{file, "/var/vcap/sys/log/riak-cs/error.log"},
{level, error},
{size, 10485760},
Expand Down
1 change: 0 additions & 1 deletion jobs/stanchion/templates/app.config.erb
Expand Up @@ -34,7 +34,6 @@
%% and the rotation time to "", or instead specify a 2-tuple that only
%% consists of {Logfile, Level}.
{handlers, [
{lager_console_backend, info},
{lager_file_backend, [{file, "/var/vcap/sys/log/stanchion/error.log"},
{level, error},
{size, 10485760},
Expand Down

0 comments on commit 163af97

Please sign in to comment.