Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Logfile name changed. test module changed parameters and return.

  • Loading branch information...
commit d5e61e979655652f5b2dbffe6f1b15cbadabdbae 1 parent ef51a10
Ralf Weinbrecher authored
Showing with 5 additions and 5 deletions.
  1. +3 −3 priv/log4erl.conf
  2. +2 −2 src/test.erl
View
6 priv/log4erl.conf
@@ -2,9 +2,9 @@ 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'
@@ -12,7 +12,7 @@ logger {
%% Consloe appender with level set to warn
console_appender cmd{
- level = all,
+ level = error,
format = '[%L] %I %l%n'
}
}
View
4 src/test.erl
@@ -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"}.
Please sign in to comment.
Something went wrong with that request. Please try again.