Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (41 sloc) 1.645 kB
7bcf044 @Vagabond Initial import
Vagabond authored
1 %% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
2 %% ex: ts=4 sw=4 et
3 {application, lager,
4 [
0791fdf @Vagabond Make lager an OTP application
Vagabond authored
5 {description, "Erlang logging framework"},
d8ad5eb @Vagabond Roll version 1.2.1
Vagabond authored
6 {vsn, "1.2.1"},
037e742 @Vagabond Add default env vars to the .app.src file
Vagabond authored
7 {modules, []},
7bcf044 @Vagabond Initial import
Vagabond authored
8 {applications, [
9 kernel,
76fef99 @bjnortier Add compiler and syntax_tools as dependencies in the application reso…
bjnortier authored
10 stdlib,
11 compiler,
12 syntax_tools
7bcf044 @Vagabond Initial import
Vagabond authored
13 ]},
14 {registered, []},
0791fdf @Vagabond Make lager an OTP application
Vagabond authored
15 {mod, {lager_app, []}},
7bcf044 @Vagabond Initial import
Vagabond authored
16 {env, [
037e742 @Vagabond Add default env vars to the .app.src file
Vagabond authored
17 %% What handlers to install with what arguments
0431806 @Vagabond Prettier indenting in app file
Vagabond authored
18 {handlers, [
19 {lager_console_backend, info},
20 {lager_file_backend, [
7d8c104 @Vagabond Update app.src file with time based rotation config
Vagabond authored
21 {"log/error.log", error, 10485760, "$D0", 5},
22 {"log/console.log", info, 10485760, "$D0", 5}
0431806 @Vagabond Prettier indenting in app file
Vagabond authored
23 ]}
24 ]},
037e742 @Vagabond Add default env vars to the .app.src file
Vagabond authored
25 %% Whether to write a crash log, and where. Undefined means no crash logger.
3a8fe3b @Vagabond Typo in .app.src file
Vagabond authored
26 {crash_log, "log/crash.log"},
fbb0fda @Vagabond Default crash log entries to be a maxmimum of 64k
Vagabond authored
27 %% Maximum size in bytes of events in the crash log - defaults to 65536
6eb8240 @Vagabond Crash log rotation & documentation on rotation
Vagabond authored
28 {crash_log_msg_size, 65536},
29 %% Maximum size of the crash log in bytes, before its rotated, set
30 %% to 0 to disable rotation - default is 0
31 {crash_log_size, 10485760},
81d4aea @Vagabond Finish implementing time based log rotation
Vagabond authored
32 %% What time to rotate the crash log - default is no time
33 %% rotation. See the README for a description of this format.
34 {crash_log_date, "$D0"},
6eb8240 @Vagabond Crash log rotation & documentation on rotation
Vagabond authored
35 %% Number of rotated crash logs to keep, 0 means keep only the
36 %% current one - default is 0
37 {crash_log_count, 5},
61ae86f @Vagabond Minor documentation tweaks
Vagabond authored
38 %% Whether to redirect error_logger messages into lager - defaults to true
037e742 @Vagabond Add default env vars to the .app.src file
Vagabond authored
39 {error_logger_redirect, true}
7bcf044 @Vagabond Initial import
Vagabond authored
40 ]}
41 ]}.
Something went wrong with that request. Please try again.