Permalink
Browse files

Moved from alog to lager.

  • Loading branch information...
Licenser committed Jun 12, 2012
1 parent 820ac8c commit 42a302392b93285418f7d6a869579b72af032678
Showing with 10 additions and 9 deletions.
  1. +1 −1 apps/wiggle/src/wiggle.app.src
  2. +1 −1 rebar.config
  3. +6 −7 rel/files/sys.config
  4. +2 −0 rel/reltool.config
@@ -8,7 +8,7 @@
jsx,
kernel,
sasl,
- alog,
+ lager,
libsniffle,
libsnarl,
stdlib
View
@@ -10,5 +10,5 @@
{uuid, ".*", {git, "http://git.gitorious.org/avtobiff/erlang-uuid.git", {tag, "0.2.1"}}},
{libsniffle, ".*", {git, "http://github.com/project-fifo/libsniffle.git", {branch, master}}},
{libsnarl, ".*", {git, "http://github.com/project-fifo/libsnarl.git", {branch, master}}},
- {alog, ".*", {git, "http://github.com/siberian-fast-food/alogger.git", {branch, "master"}}}
+ {lager, ".*", {git, "git://github.com/basho/lager.git", {tag, "1.0.0"}}}
]}.
View
@@ -1,6 +1,6 @@
-[{sasl, [{sasl_error_logger, {file, "/var/log/fifo/wiggle-error.log"}},
+[{sasl, [{sasl_error_logger, {file, "/var/log/fifo/wiggle/sasl_error.log"}},
{errlog_type, error},
- {error_logger_mf_dir, "/var/log/fifo"}, % Log directory
+ {error_logger_mf_dir, "/var/log/fifo/wiggle"}, % Log directory
{error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
{error_logger_mf_maxfiles, 5} % 5 files max
]},
@@ -21,10 +21,9 @@
]},
{alog, [{enabled_loggers, [alog_tty, alog_disk_log]},
{flows, [{{mod,['_']}, {'=<', warning},
- [alog_tty,
- {alog_disk_log,
- [{name, wiggle_warn},
- {file, "/var/log/fifo/wiggle_warn.log"}]}]}
- ]}
+ [alog_tty, wiggle_warn]}
+ ]},
+ {alog_disk_log, [{name, wiggle_warn},
+ {file, "/var/log/fifo/wiggle/wiggle-warn.log"}]}
]}
].
View
@@ -8,6 +8,7 @@
stdlib,
sasl,
alog,
+ lager,
redgrid,
crypto,
public_key,
@@ -44,6 +45,7 @@
{app, gen_leader, [{incl_cond, include}]},
{app, sasl, [{incl_cond, include}]},
{app, alog, [{incl_cond, include}]},
+ {app, lager, [{incl_cond, include}]},
{app, edoc, [{incl_cond, include}]},
{app, public_key, [{incl_cond, include}]},
{app, ssl, [{incl_cond, include}]},

0 comments on commit 42a3023

Please sign in to comment.