{"action":"created","issue":{"url":"https://api.github.com/repos/nomiddlename/log4js-node/issues/412","repository_url":"https://api.github.com/repos/nomiddlename/log4js-node","labels_url":"https://api.github.com/repos/nomiddlename/log4js-node/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/nomiddlename/log4js-node/issues/412/comments","events_url":"https://api.github.com/repos/nomiddlename/log4js-node/issues/412/events","html_url":"https://github.com/nomiddlename/log4js-node/issues/412","id":184856988,"number":412,"title":"Is it possible to write different level of log into different file?","user":{"login":"FridaCai","id":12479174,"avatar_url":"https://avatars.githubusercontent.com/u/12479174?v=3","gravatar_id":"","url":"https://api.github.com/users/FridaCai","html_url":"https://github.com/FridaCai","followers_url":"https://api.github.com/users/FridaCai/followers","following_url":"https://api.github.com/users/FridaCai/following{/other_user}","gists_url":"https://api.github.com/users/FridaCai/gists{/gist_id}","starred_url":"https://api.github.com/users/FridaCai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FridaCai/subscriptions","organizations_url":"https://api.github.com/users/FridaCai/orgs","repos_url":"https://api.github.com/users/FridaCai/repos","events_url":"https://api.github.com/users/FridaCai/events{/privacy}","received_events_url":"https://api.github.com/users/FridaCai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-24T14:29:41Z","updated_at":"2016-10-24T22:20:18Z","closed_at":"2016-10-24T22:20:18Z","body":"Is it possible to write different level of log into different file?\r\n\r\neg: \r\nmessage in log.info(**) will be written to info.log file\r\nwhile message in log.error(**) will be written to error.log file \r\n\r\nit can be done in java log4j."},"comment":{"url":"https://api.github.com/repos/nomiddlename/log4js-node/issues/comments/255882897","html_url":"https://github.com/nomiddlename/log4js-node/issues/412#issuecomment-255882897","issue_url":"https://api.github.com/repos/nomiddlename/log4js-node/issues/412","id":255882897,"user":{"login":"nomiddlename","id":83909,"avatar_url":"https://avatars.githubusercontent.com/u/83909?v=3","gravatar_id":"","url":"https://api.github.com/users/nomiddlename","html_url":"https://github.com/nomiddlename","followers_url":"https://api.github.com/users/nomiddlename/followers","following_url":"https://api.github.com/users/nomiddlename/following{/other_user}","gists_url":"https://api.github.com/users/nomiddlename/gists{/gist_id}","starred_url":"https://api.github.com/users/nomiddlename/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomiddlename/subscriptions","organizations_url":"https://api.github.com/users/nomiddlename/orgs","repos_url":"https://api.github.com/users/nomiddlename/repos","events_url":"https://api.github.com/users/nomiddlename/events{/privacy}","received_events_url":"https://api.github.com/users/nomiddlename/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T22:20:18Z","updated_at":"2016-10-24T22:20:18Z","body":"Take a look at the logLevelFilter, which does what you want. There are examples in the examples directory, or take a look at the [example app](https://github.com/nomiddlename/log4js-example)."}}
{"actor":{"display_login":"nomiddlename"}}