logger_file_backend
logger_file_backend copied to clipboard
``` config :logger, :dev_log, path: "/tmp/dev.log", level: :debug, format: "$date\t$time\t$level\t●$message●$metadata\n", truncate: :infinity ``` Still truncates long output with "(truncate)" at end
I've got this config in my `test.exs` config ``` config :logger, backends: [{LoggerFileBackend, :test}] config :logger, :test, colors: [enabled: true], path: "/tmp/test.log", level: :debug, format: "$time [$level] [$metadata] - $message\n",...
I believe this backend is leaking file descriptors after the backend has been removed. Our application starts a number of temporary GenServers that are started to handle on-demand data processing....
When I compile my application I get the following error when compiling the logger_file_backend application. ``` ==> logger_file_backend Compiling 1 file (.ex) warning: Logger.compare_levels/2 defined in application :logger is used...
I find the configure of "rotate" in code, but not in README.md, so could the "rotate" be used in prod environment?
``` $ mix dialyzer ==> erlex Compiling 1 file (.yrl) src/parser.yrl: Warning: conflicts: 25 shift/reduce, 0 reduce/reduce Compiling 1 file (.xrl) Compiling 2 files (.erl) Compiling 1 file (.ex) Generated...
Sometimes I need to log to different files based on some log metadata. Imagine for instance of having a variable number of entities handled by your application, it can be...
When specifying a relative log path like in: ``` elixir config :logger, :debug, path: "log/debug.log", level: :debug, ``` Would it be possible to add a config option for something like:...
In other logging settings, I've found value in being able to redirect certain log statements to individual files e.g.: in one application that manages 3 identical serial devices- my logging...