{"action":"created","issue":{"url":"https://api.github.com/repos/Horusiath/AkkaCQRS/issues/9","labels_url":"https://api.github.com/repos/Horusiath/AkkaCQRS/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Horusiath/AkkaCQRS/issues/9/comments","events_url":"https://api.github.com/repos/Horusiath/AkkaCQRS/issues/9/events","html_url":"https://github.com/Horusiath/AkkaCQRS/issues/9","id":93019504,"number":9,"title":"Monitoring","user":{"login":"varghesep","id":12233474,"avatar_url":"https://avatars.githubusercontent.com/u/12233474?v=3","gravatar_id":"","url":"https://api.github.com/users/varghesep","html_url":"https://github.com/varghesep","followers_url":"https://api.github.com/users/varghesep/followers","following_url":"https://api.github.com/users/varghesep/following{/other_user}","gists_url":"https://api.github.com/users/varghesep/gists{/gist_id}","starred_url":"https://api.github.com/users/varghesep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varghesep/subscriptions","organizations_url":"https://api.github.com/users/varghesep/orgs","repos_url":"https://api.github.com/users/varghesep/repos","events_url":"https://api.github.com/users/varghesep/events{/privacy}","received_events_url":"https://api.github.com/users/varghesep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-04T15:05:55Z","updated_at":"2015-07-08T01:44:18Z","closed_at":null,"body":"While I'm running the application locally, I don't see any response after this line\r\n\r\n*child.Forward(command);*\r\n\r\nThe *sign up* page returns with a 500 Internal Server Error and simply don't proceed from there.\r\n\r\nI noticed that monitoring is integrated with the application. But I don't see any logs in the **Visual Studio output window** neither any logs in the **BIN** or **OBJ** folder.\r\n\r\nCould you please let me know if I have to install any special software like [Kamon and Stasd](http://www.typesafe.com/activator/template/akka-monitoring-kamon-statsd) to see the logs?\r\n\r\n![akkacqrslog](https://cloud.githubusercontent.com/assets/12233474/8511875/327c1dbe-22ee-11e5-996a-c7abaab08e26.PNG)\r\n\r\nI updated the HOCON to the following. I still don't see any logs in the output window:\r\n```\r\n  <akka>\r\n    <hocon>\r\n      <![CDATA[\r\n        akka {\r\n          loglevel = DEBUG\r\n          loggers = [ \"Akka.Logger.Serilog.SerilogLogger, Akka.Logger.Serilog\" ]\r\n          actor {\r\n            autoreceive = on\r\n            lifecycle = on\r\n            fsm = on\r\n          }\r\n        }\r\n      ]]>\r\n    </hocon>\r\n  </akka>\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Horusiath/AkkaCQRS/issues/comments/119396262","html_url":"https://github.com/Horusiath/AkkaCQRS/issues/9#issuecomment-119396262","issue_url":"https://api.github.com/repos/Horusiath/AkkaCQRS/issues/9","id":119396262,"user":{"login":"varghesep","id":12233474,"avatar_url":"https://avatars.githubusercontent.com/u/12233474?v=3","gravatar_id":"","url":"https://api.github.com/users/varghesep","html_url":"https://github.com/varghesep","followers_url":"https://api.github.com/users/varghesep/followers","following_url":"https://api.github.com/users/varghesep/following{/other_user}","gists_url":"https://api.github.com/users/varghesep/gists{/gist_id}","starred_url":"https://api.github.com/users/varghesep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varghesep/subscriptions","organizations_url":"https://api.github.com/users/varghesep/orgs","repos_url":"https://api.github.com/users/varghesep/repos","events_url":"https://api.github.com/users/varghesep/events{/privacy}","received_events_url":"https://api.github.com/users/varghesep/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T01:44:18Z","updated_at":"2015-07-08T01:44:18Z","body":"I made a change in the code to dump the log to a txt file as below:\r\n```\r\n        private void ConfigureLogger(IAppBuilder app)\r\n        {\r\n            var logger = new LoggerConfiguration().WriteTo.File(@\"c:\\temp\\log.txt\").CreateLogger();\r\n            Serilog.Debugging.SelfLog.Out = Console.Out;\r\n            Serilog.Log.Logger = logger;\r\n        }\r\n```\r\n\r\nThis is what I see in the log.txt\r\n\r\n```\r\n2015-07-07 20:39:27.726 -05:00 [Error] \"Access to the path 'snapshots' is denied.\"\r\n[akka://akka-cqrs/system/akka.persistence.snapshot-store.local]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.UnauthorizedAccessException: Access to the path 'snapshots' is denied.\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)\r\n   at System.IO.DirectoryInfo.Create()\r\n   at Akka.Persistence.Snapshot.LocalSnapshotStore.PreStart()\r\n   at Akka.Actor.ActorBase.AroundPreStart()\r\n   at Akka.Actor.ActorCell.<>c__DisplayClass4c.<Create>b__4b()\r\n   at Akka.Actor.ActorCell.UseThreadContext(Action action)\r\n   at Akka.Actor.ActorCell.Create(Exception failure)\r\n   --- End of inner exception stack trace ---\r\n   at Akka.Actor.ActorCell.Create(Exception failure)\r\n   at Akka.Actor.ActorCell.SystemInvoke(Envelope envelope)\r\n2015-07-07 20:39:27.773 -05:00 [Information] \"Message LoadSnapshot from akka://akka-cqrs/user/users/user-ec81a30f12d94f9bb0157e2b0e9746f7 to akka://akka-cqrs/system/akka.persistence.snapshot-store.local was not delivered. 1 dead letters encountered.\"\r\n```\r\n"}}