Skip to content

Logging from web and worker is not working #29

Open
@tomasztrzos

Description

@tomasztrzos

Hello!

I have a running instance of application int a kubernetes cluster (with debian10 os). I set up logs path in Procfile.options file but I couldn't see this files on running instance.

$# procodile status
Procodile Version   1.0.25
Application Root    /sample-app
Supervisor PID      8
Started             2019-11-14 13:17:06 +0000

|| web
|| Quantity            1
|| Command             bundle exec passenger start -e production
|| Respawning          5 every 3600 seconds
|| Restart mode        term-start
|| Log path            /sample-app/log/web.log
|| Address/Port        none
|| => web.1            Running      13:17        pid:11       respawns:0      port:-        tag:-

|| worker
|| Quantity            2
|| Command             bundle exec rake run_worker RAILS_ENV=production
|| Respawning          5 every 3600 seconds
|| Restart mode        term-start
|| Log path            /sample-app/log/worker.log
|| Address/Port        none
|| => worker.1         Running      13:17        pid:13       respawns:0      port:-        tag:-
|| => worker.2         Running      13:17        pid:15       respawns:0      port:-        tag:-
root@:/sample-app# ls
Gemfile       Passengerfile.json  Rakefile  config     kubernetes  passenger.3000.pid	    public     test
Gemfile.lock  Procfile		  app	    config.ru  lib	   passenger.3000.pid.lock  resources  vendor
Guardfile     Procfile.options	  bin	    db	       log	   pids			    spec
root@:/sample-app# cd log
root@:/sample-app/log# ls
passenger.3000.log  production.log

Did I set up something wrong? Thanks in advance for any help! :)

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