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

delayed_jobs worker logs and SDP logs dont work #737

Closed
brianlball opened this issue Mar 28, 2024 · 0 comments
Closed

delayed_jobs worker logs and SDP logs dont work #737

brianlball opened this issue Mar 28, 2024 · 0 comments
Assignees

Comments

@brianlball
Copy link
Contributor

when running delayed jobs (local server aka PAT), the dj_worker.logs show errors:

Starting Delayed Jobs
Top level ::CompositeIO is deprecated, require 'multipart/post' and use Multipart::Post::CompositeReadIO instead!
Top level ::Parts is deprecated, require 'multipart/post' and use Multipart::Post::Parts instead!
log writing failed. uninitialized stream
log writing failed. uninitialized stream
C:/Projects/OS-Server-develop/server/app/jobs/dj_jobs/run_simulate_data_point.rb:432: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open
log writing failed. uninitialized stream
log writing failed. uninitialized stream
...

and the simulate data point log aka {UUID}.log is initialized but empty:
# Logfile created on 2024-03-27 15:56:17 -0400 by logger.rb/v1.4.2

when it should be showing the @sim_logger events in server/app/jobs/dj_jobs/run_simulate_data_point.rb like it does for the resque workflow:

# Logfile created on 2024-03-27 18:26:23 +0000 by logger.rb/v1.4.2
[18:26:23.685506 INFO] Server host is http://web:80
[18:26:23.685555 INFO] Analysis directory is /mnt/openstudio/analysis_4220eb89-e707-4554-83ee-b0f2df3d9f17
[18:26:23.685572 INFO] Simulation directory is /mnt/openstudio/analysis_4220eb89-e707-4554-83ee-b0f2df3d9f17/data_point_a771ef7b-98df-4fd3-90eb-25b8b4bda874

this makes debugging PAT runs difficult.

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