Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging from web and worker is not working #29

Open
tomasztrzos opened this issue Nov 14, 2019 · 0 comments
Open

Logging from web and worker is not working #29

tomasztrzos opened this issue Nov 14, 2019 · 0 comments

Comments

@tomasztrzos
Copy link

tomasztrzos commented Nov 14, 2019

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! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant