{"action":"created","issue":{"url":"https://api.github.com/repos/Syonix/monolog-viewer/issues/5","labels_url":"https://api.github.com/repos/Syonix/monolog-viewer/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Syonix/monolog-viewer/issues/5/comments","events_url":"https://api.github.com/repos/Syonix/monolog-viewer/issues/5/events","html_url":"https://github.com/Syonix/monolog-viewer/issues/5","id":35380320,"number":5,"title":"Support local files / Storage Adapter","user":{"login":"garygreen","id":1702638,"avatar_url":"https://avatars.githubusercontent.com/u/1702638?v=3","gravatar_id":"","url":"https://api.github.com/users/garygreen","html_url":"https://github.com/garygreen","followers_url":"https://api.github.com/users/garygreen/followers","following_url":"https://api.github.com/users/garygreen/following{/other_user}","gists_url":"https://api.github.com/users/garygreen/gists{/gist_id}","starred_url":"https://api.github.com/users/garygreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garygreen/subscriptions","organizations_url":"https://api.github.com/users/garygreen/orgs","repos_url":"https://api.github.com/users/garygreen/repos","events_url":"https://api.github.com/users/garygreen/events{/privacy}","received_events_url":"https://api.github.com/users/garygreen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"mpbzh","id":6039062,"avatar_url":"https://avatars.githubusercontent.com/u/6039062?v=3","gravatar_id":"","url":"https://api.github.com/users/mpbzh","html_url":"https://github.com/mpbzh","followers_url":"https://api.github.com/users/mpbzh/followers","following_url":"https://api.github.com/users/mpbzh/following{/other_user}","gists_url":"https://api.github.com/users/mpbzh/gists{/gist_id}","starred_url":"https://api.github.com/users/mpbzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpbzh/subscriptions","organizations_url":"https://api.github.com/users/mpbzh/orgs","repos_url":"https://api.github.com/users/mpbzh/repos","events_url":"https://api.github.com/users/mpbzh/events{/privacy}","received_events_url":"https://api.github.com/users/mpbzh/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2014-06-10T13:16:28Z","updated_at":"2015-04-09T16:15:21Z","closed_at":"2015-04-09T13:20:38Z","body":"At the moment you can only reference remote URLs for log files in the config, as they are loaded by cURL. It would be good to have basic support of local log files, or even better, have a dedicated adapter interface that you can plug into for retrieving from any kind of source; local file, remote url, database, etc."},"comment":{"url":"https://api.github.com/repos/Syonix/monolog-viewer/issues/comments/91278342","html_url":"https://github.com/Syonix/monolog-viewer/issues/5#issuecomment-91278342","issue_url":"https://api.github.com/repos/Syonix/monolog-viewer/issues/5","id":91278342,"user":{"login":"msankhala","id":234241,"avatar_url":"https://avatars.githubusercontent.com/u/234241?v=3","gravatar_id":"","url":"https://api.github.com/users/msankhala","html_url":"https://github.com/msankhala","followers_url":"https://api.github.com/users/msankhala/followers","following_url":"https://api.github.com/users/msankhala/following{/other_user}","gists_url":"https://api.github.com/users/msankhala/gists{/gist_id}","starred_url":"https://api.github.com/users/msankhala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msankhala/subscriptions","organizations_url":"https://api.github.com/users/msankhala/orgs","repos_url":"https://api.github.com/users/msankhala/repos","events_url":"https://api.github.com/users/msankhala/events{/privacy}","received_events_url":"https://api.github.com/users/msankhala/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T16:15:21Z","updated_at":"2015-04-09T16:15:21Z","body":"I figured out the issue by looking into `test.log` file. My log file is there but log are not in the following format:\r\n`[2014-01-04 17:28:00] alert.ALERT: Random alert message {\"c1\":\"Context1\",\"c2\":\"Context2\"} []\r\n`\r\nIn log file each line must end with `[]` square otherwise monolog-viewer will not read that line.\r\n\r\nMy files have log like this:\r\n\r\n```\r\n[2015-04-09 13:40:02] local.ERROR: exception 'ErrorException' with message 'Non-static method Symfony\\Component\\HttpFoundation\\Request::isMethod() should not be called statically, assuming $this from incompatible context' in /Applications/MAMP/htdocs/work/srijan/LIPI/app/Http/Controllers/Notification.php:14\r\nStack trace:\r\n#0 /Applications/MAMP/htdocs/work/srijan/LIPI/app/Http/Controllers/Notification.php(14): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2048, 'Non-static meth...', '/Applications/M...', 14, Array)\r\n#1 [internal function]: App\\Http\\Controllers\\ParsehubNotification->notify('cw-itrademarket...')\r\n```\r\n\r\nI added square brackets `[]` at the end of few lines in my log file now monolog-viewer was showing that file.\r\nIs it necessary each line should end with `[]` ? "}}