Code Monkey home page Code Monkey logo

Comments (6)

FooBarWidget avatar FooBarWidget commented on May 24, 2024

From iwarshak on April 11, 2008 13:39:27

I am testing this on Mac OSX the logging seems to be working as expected.

from passenger.

FooBarWidget avatar FooBarWidget commented on May 24, 2024

From honglilai on April 12, 2008 00:53:17

Thanks for the report. We'll take a closer look at this after the weekend.

Cc: honglilai

from passenger.

FooBarWidget avatar FooBarWidget commented on May 24, 2024

From piet.hadermann on April 12, 2008 14:59:33

Did you check the Apache error_log ?

On Centos this would be at /etc/httpd/logs/error_log

In my case it contains the following error:
[18855:ApplicationPoolClientServer.h:426] Client 0x94d1828: received message: ['get',
'/usr/rails', 'true', 'nobody']
Rails Error: Unable to access log file. Please ensure that
/usr/rails/log/production.log exists and is chmod 0666. The log level has been raised
to WARN and the output directed to STDERR until the problem is fixed.

I triple checked access permissions, but can't seem to find anything wrong with them
(tried with rails 1.2.3 and 2.0.2)

It might be an extra clue though as to why production.log isn't written to.

from passenger.

FooBarWidget avatar FooBarWidget commented on May 24, 2024

From piet.hadermann on April 12, 2008 16:01:18

Hummm...

The cause of my production.log not being written to turned out to be an SELinux issue.
Time to read up on SELinux.

from passenger.

FooBarWidget avatar FooBarWidget commented on May 24, 2024

From honglilai on April 13, 2008 02:58:13

Status: Invalid

from passenger.

FooBarWidget avatar FooBarWidget commented on May 24, 2024

From honglilai on April 13, 2008 02:59:14

Thanks Piet. You saved me a lot of time. :)

from passenger.

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.