Permalink
Browse files

Logfile name changed. test module changed parameters and return.

  • Loading branch information...
1 parent ef51a10 commit d5e61e979655652f5b2dbffe6f1b15cbadabdbae Ralf Weinbrecher committed Dec 21, 2010
Showing with 5 additions and 5 deletions.
  1. +3 −3 priv/log4erl.conf
  2. +2 −2 src/test.erl
View
@@ -2,17 +2,17 @@ logger {
file_appender file{
dir = ".",
level = all,
- file = "/var/log/xmlrpc",
+ file = "di",
type = size,
- max = 100000,
+ max = 200000,
suffix = log,
rotation = 5,
format = '[%L] %I %l%n'
}
%% Consloe appender with level set to warn
console_appender cmd{
- level = all,
+ level = error,
format = '[%L] %I %l%n'
}
}
View
@@ -2,6 +2,6 @@
-author('jocke@gleipnir.com').
-export([decode/2]).
-decode(_Payload, _State) ->
+decode(State, _Payload) ->
log4erl:debug("TEST"),
- ok.
+ {true, 60000, State, "OK"}.

0 comments on commit d5e61e9

Please sign in to comment.