Git Product home page Git Product logo

Comments (3)

davidlesieur avatar davidlesieur commented on June 8, 2024 1

The new configuration system currently in development (#38) should help avoid this kind of trouble in the future. The syslog logging handler will have to be explicitly enabled in a configuration file.

from kerkoapp.

davidlesieur avatar davidlesieur commented on June 8, 2024

Hi,

If you are running KerkoApp on a development machine, you might want to set the value of the FLASK_ENV environment variable to development. Otherwise you'll be running on production settings, which attempt to use the syslog logging handler, which won't work on Windows. If you are looking at hosting KerkoApp on Windows for production, then perhaps you could set the value of the LOGGING_HANDLER variable to an empty value (which should cause KerkoApp to use a default handler).

I hope this helps. Please let us know of the results.

KerkoApp's default production settings should probably be changed to avoid this issue on Windows, but hopefully the above workarounds can work in the meantime.

from kerkoapp.

simon-20 avatar simon-20 commented on June 8, 2024

Hi,

Thanks for your reply, and help.

I'm not sure it was entirely related to Windows. When attempting to get it set up on PythonAnywhere, I also received exceptions being thrown due to the logging handler, and exceptions thrown during the attempted handling of the logging. But I've been able to resolve some of the issues by setting LOGGING_HANDLER to an empty value, as you suggest.

Many thanks

from kerkoapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.