Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log_file_path #4

Closed
srid opened this issue Sep 1, 2010 · 1 comment
Closed

log_file_path #4

srid opened this issue Sep 1, 2010 · 1 comment
Labels

Comments

@srid
Copy link
Contributor

srid commented Sep 1, 2010

Need this from applib/base.py

@property
def log_file_path(self):
    if sys.platform.startswith('win'):
        return join(self.user_cache_dir, self.app.name + '.log')
    elif sys.platform.startswith('darwin'):
        return join(expanduser('~/Library/Logs'), self.app.name + '.log')
    else:
        return join(expanduser('~'), '.'+self.app.name.lower() + '.log')
@srid
Copy link
Contributor Author

srid commented Sep 2, 2010

implement log_dir: closed by a637fef

kennethreitz pushed a commit that referenced this issue Apr 17, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant