Skip to content

package creating logs issue #5

Description

@OisinSlevin

Ran into this issue after pip install eircode
and running your sample code
machine - mac m2 air - mac os 13.5.2

may want to consider the ability to disable logging

from eircode.address import Address
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eircode/address.py", line 7, in
from eircode.logging import logger
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/eircode/logging.py", line 38, in
os.makedirs(os.path.dirname(LOG_LOCATION), exist_ok=True)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/var/log/eircode'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions