Skip to content

Log files location? #85

Description

@perqa

I installed this cartridge without problems - thanks for great software! But I can't find the log files anymore. Are there any, or if not, how can I enable some node logs similar to Openshift's originals, located in nodejs/logs ?

The reason I'm asking is that my application doesn't start automatically when pushing to Openshift, but it starts if I do it manually using the same command as in package.json.

During the automated startup, I see the following (logshifter not found):

remote: Preparing build for deployment        
remote: Deployment id is a4df8975        
remote: Activating deployment        
remote: CLIENT_MESSAGE: Starting Node.js application...        
remote: /var/lib/openshift/58ef631bf9d320e77axxxxxx/nodejs/bin/control: line 46: /usr/bin/logshifter: No such file or directory        
remote: CLIENT_RESULT: Node.js application started.        
remote: Result: success        
remote: Activation status: success        
remote: Deployment completed with status: success

However, even though it looks like everything went fine, the app is inaccessible (Service Unavailable) until I start it manually using "node server.js"

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