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

Interactive logger broken #2200

Open
mesmith75 opened this issue Sep 12, 2023 · 2 comments
Open

Interactive logger broken #2200

mesmith75 opened this issue Sep 12, 2023 · 2 comments

Comments

@mesmith75
Copy link
Contributor

If I submit a job interactively:

[11:17:55]
Ganga In [4]: j = Job()

[11:18:00]
Ganga In [5]: j.backend = Dirac()

[11:18:05]
Ganga In [6]: j.submit()
Ganga Out [6]: 1

If I submit a job with a script:

*** Welcome to Ganga ***
Version: 8.6.0 - DEV
Documentation: https://ganga.readthedocs.io/en/latest/
Report issues: https://github.com/ganga-devs/ganga
Type help() or help('index') for online help.

This is free software (GPL), and you are welcome to redistribute it
under certain conditions; type license() for details.

INFO     reading config file /afs/cern.ch/user/m/masmith/.gangarc
INFO     reading config file /afs/cern.ch/user/m/masmith/cmtuser/GANGA/GANGA_HEAD/install/ganga/ganga/GangaLHCb/LHCb.ini
INFO     Using LHCbDirac version prod

INFO     submitting job 69
INFO     job 69 status changed to "submitting"
INFO     Preparing Executable application.
INFO     Created shared directory: conf-840a3638-d95c-4b40-a27e-2bcaf6447701
INFO     Preparing subjobs
WARNING  No application platform specified. Using default platform x86_64-centos7-gcc8-opt
INFO     Master submit
INFO     Submitting job
INFO     job 69 status changed to "submitted"
INFO     Submitted job
INFO     Stopping Job processing before shutting down Repositories
INFO     Shutting Down Ganga Repositories
INFO     Registry Shutdown

I guess this is a result of the changes I made to quieten the logger at some point

@mesmith75
Copy link
Contributor Author

Upon further investigation I am not sure how big or small the issue is. Currently all the INFO and WARNING printout is being suppressed. This is because the printouts for job finalising was making the shell unusable.

Perhaps we really need to change the job finalisation info to debug?

@egede
Copy link
Member

egede commented Feb 22, 2024

Yes, I think changing finalisation to debug and then re-enabling info level.

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

No branches or pull requests

2 participants