{"action":"opened","issue":{"url":"https://api.github.com/repos/logkit/logkit/issues/11","repository_url":"https://api.github.com/repos/logkit/logkit","labels_url":"https://api.github.com/repos/logkit/logkit/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/logkit/logkit/issues/11/comments","events_url":"https://api.github.com/repos/logkit/logkit/issues/11/events","html_url":"https://github.com/logkit/logkit/issues/11","id":132335962,"number":11,"title":"access private URLs on LXRotatingFileEndpoint","user":{"login":"rabidaudio","id":3444382,"avatar_url":"https://avatars.githubusercontent.com/u/3444382?v=3","gravatar_id":"","url":"https://api.github.com/users/rabidaudio","html_url":"https://github.com/rabidaudio","followers_url":"https://api.github.com/users/rabidaudio/followers","following_url":"https://api.github.com/users/rabidaudio/following{/other_user}","gists_url":"https://api.github.com/users/rabidaudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rabidaudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabidaudio/subscriptions","organizations_url":"https://api.github.com/users/rabidaudio/orgs","repos_url":"https://api.github.com/users/rabidaudio/repos","events_url":"https://api.github.com/users/rabidaudio/events{/privacy}","received_events_url":"https://api.github.com/users/rabidaudio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-09T05:39:29Z","updated_at":"2016-02-09T05:39:29Z","closed_at":null,"body":"If there a reason properties like `directoryURL` and `currentURL` are `private` on `LXRotatingFileEndpoint`? It would be really useful to have read-only access to URLs for manipulating log files (e.g. uploading them to a server, deleting old logs, etc). \r\n\r\nAt the moment, I have to use\r\n```swift\r\nlet directory = NSFileManager.defaultManager().URLsForDirectory(.ApplicationSupportDirectory, inDomains: .UserDomainMask).first!.URLByAppendingPathComponent(NSBundle.mainBundle().bundleIdentifier!, isDirectory: true).URLByAppendingPathComponent(\"logs\", isDirectory: true)\r\n```\r\nwhich is terribly verbose and seems really fragile (if say LogKit changes the default file directory in a future version). "}}