{"action":"created","issue":{"url":"https://api.github.com/repos/serilog/serilog-sinks-file/issues/51","repository_url":"https://api.github.com/repos/serilog/serilog-sinks-file","labels_url":"https://api.github.com/repos/serilog/serilog-sinks-file/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/serilog/serilog-sinks-file/issues/51/comments","events_url":"https://api.github.com/repos/serilog/serilog-sinks-file/issues/51/events","html_url":"https://github.com/serilog/serilog-sinks-file/issues/51","id":299843864,"number":51,"title":"Files being rolled without cause?","user":{"login":"stephenpatten","id":354728,"avatar_url":"https://avatars1.githubusercontent.com/u/354728?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenpatten","html_url":"https://github.com/stephenpatten","followers_url":"https://api.github.com/users/stephenpatten/followers","following_url":"https://api.github.com/users/stephenpatten/following{/other_user}","gists_url":"https://api.github.com/users/stephenpatten/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenpatten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenpatten/subscriptions","organizations_url":"https://api.github.com/users/stephenpatten/orgs","repos_url":"https://api.github.com/users/stephenpatten/repos","events_url":"https://api.github.com/users/stephenpatten/events{/privacy}","received_events_url":"https://api.github.com/users/stephenpatten/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-23T20:42:19Z","updated_at":"2018-05-18T21:14:09Z","closed_at":"2018-05-18T21:14:09Z","author_association":"NONE","body":"Nick,\r\n\r\nGiven this bootstrap\r\n\r\n\r\n            var filePath =\r\n                $\"{ConfigurationManager.AppSettings[\"LogFileBaseDir\"]}\\\\ExternalFields_{Environment.MachineName}_.txt\";\r\n\r\n             Log.Logger = new LoggerConfiguration()\r\n                .ReadFrom.AppSettings()\r\n                .Enrich.FromLogContext()\r\n                .Enrich.WithMachineName()\r\n                .Enrich.WithProcessId()\r\n                .Enrich.WithThreadId()\r\n                .Enrich.WithProperty(\"Application\", \"ExternalFields\")\r\n                .WriteTo.Async(a => \r\n                        a.File(filePath, \r\n                        outputTemplate: LoggingConstants.CanonicalTemplate,\r\n                        rollingInterval: RollingInterval.Day, \r\n                        rollOnFileSizeLimit: true, \r\n                        buffered: true,\r\n                        flushToDiskInterval: TimeSpan.FromMilliseconds(500)))\r\n                .CreateLogger();\r\n\r\nand this key in the app settings section of the config\r\n\r\n    <add key=\"serilog:minimum-level\" value=\"Information\" />\r\n\r\nwhat would cause the files to be continually incremented like so:\r\n\r\n![snap571](https://user-images.githubusercontent.com/354728/36615806-5d0320a0-1896-11e8-9ade-2c51518049e6.png)\r\n\r\nIn this case it is a single web application (above) writing the files and what's weird is that the production boxes (2) are working fine (below).\r\n\r\n![snap572](https://user-images.githubusercontent.com/354728/36615893-bb2f1e54-1896-11e8-9671-cc5c6ddedb25.png)\r\n\r\nThank you,\r\nStephen\r\n"},"comment":{"url":"https://api.github.com/repos/serilog/serilog-sinks-file/issues/comments/390334136","html_url":"https://github.com/serilog/serilog-sinks-file/issues/51#issuecomment-390334136","issue_url":"https://api.github.com/repos/serilog/serilog-sinks-file/issues/51","id":390334136,"user":{"login":"nblumhardt","id":342712,"avatar_url":"https://avatars2.githubusercontent.com/u/342712?v=4","gravatar_id":"","url":"https://api.github.com/users/nblumhardt","html_url":"https://github.com/nblumhardt","followers_url":"https://api.github.com/users/nblumhardt/followers","following_url":"https://api.github.com/users/nblumhardt/following{/other_user}","gists_url":"https://api.github.com/users/nblumhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/nblumhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nblumhardt/subscriptions","organizations_url":"https://api.github.com/users/nblumhardt/orgs","repos_url":"https://api.github.com/users/nblumhardt/repos","events_url":"https://api.github.com/users/nblumhardt/events{/privacy}","received_events_url":"https://api.github.com/users/nblumhardt/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T21:14:09Z","updated_at":"2018-05-18T21:14:09Z","author_association":"MEMBER","body":"Closing as stale, but please jump in if you still need help with this."}}
{"actor":{"display_login":"nblumhardt"}}