Auto rotating logs by file size

Success! :slight_smile:

Here’s the new config:

config :myapp, :logger, [
  {:handler, :myapp_disk_log, :logger_disk_log_h,
   %{
     config: %{file: 'Logs/info.log', max_no_bytes: 100_000_000},
     level: :info,
     formatter_config: %{time_offset: 0}
   }}
]

config :logger,
  utc_log: true,
  backends: [
    {LoggerFileBackend, :info_log}
  ]

Now, based on what the manual indicates here and here, formatter_config: %{time_offset: 0} was added to set the timestamp to UTC. However, this is not working. Where did I go wrong?