Skip to content

Commit

Permalink
[#4] Modified indentation in config files.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfacorro committed Jun 17, 2014
1 parent 7cafa1f commit a9f60fd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 45 deletions.
2 changes: 1 addition & 1 deletion examples/ping_pong/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CONFIG ?= "rel/sys.config"
RUN = erl -pa ebin -pa deps/*/ebin -smp enable -s sync -config ${CONFIG}
NODE = ${PROJECT}

run: app
run: all
if [ -n "${NODE}" ]; then ${RUN} -name ${NODE}@`hostname` -s ${PROJECT}; \
else ${RUN} -s ${PROJECT}; \
fi
32 changes: 10 additions & 22 deletions examples/ping_pong/rel/sys.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,16 @@
{error_logger_hwm, 500},
{handlers,
[
{
lager_console_backend,
[
debug,
{
lager_default_formatter,
[
color,
time,
" [",
severity,
"] [",
{module, ""},
":",
{function, ""},
":", {line, ""},
"] ",
message,
"\e[0m\n"
]
}
]
{lager_console_backend,
[debug,
{lager_default_formatter,
[
color, time, " [", severity, "]",
" [", {module, ""}, ":", {function, ""}, ":", {line, ""}, "] ",
message, "\e[0m\n"
]
}
]
}
]
}
Expand Down
32 changes: 10 additions & 22 deletions rel/sys.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,16 @@
{error_logger_hwm, 500},
{handlers,
[
{
lager_console_backend,
[
debug,
{
lager_default_formatter,
[
color,
time,
" [",
severity,
"] [",
{module, ""},
":",
{function, ""},
":", {line, ""},
"] ",
message,
"\e[0m\n"
]
}
]
{lager_console_backend,
[debug,
{lager_default_formatter,
[
color, time, " [", severity, "]",
" [", {module, ""}, ":", {function, ""}, ":", {line, ""}, "] ",
message, "\e[0m\n"
]
}
]
}
]
}
Expand Down

0 comments on commit a9f60fd

Please sign in to comment.