Skip to content
Snippets Groups Projects

logrotate: adding Mercurial

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -58,14 +58,14 @@ RSpec.describe 'gitlab::mercurial' do
expect(conf['formatters']).to have_key('full')
expect(conf['handlers']['hgitaly_handler']).to eq(
{
"class" => "logging.FileHandler",
"class" => "logging.handlers.WatchedFileHandler",
"formatter" => "full",
"level" => "DEBUG",
"filename" => hgitaly_log_path
})
expect(conf['handlers']['hgitaly_handler_correl']).to eq(
{
"class" => "logging.FileHandler",
"class" => "logging.handlers.WatchedFileHandler",
"formatter" => "gitlab_correlation",
"level" => "DEBUG",
"filename" => hgitaly_log_path
Loading