-
Notifications
You must be signed in to change notification settings - Fork 75
missing timestamps in ROBOT verbose (-vv) logs #1091
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
Comments
Thanks for the report! This seems to have been related to the Log4Shell debacle, and we were trying to move fast. The main PR was #948, and then with cleanup in #953. I retraced the history as:
So the fix would be @matentzn Would restoring more detailed logging to ROBOT CLI (not library operations) cause any problems for ODK? |
As long as there is more detail in rows, and not more rows, there wont be a problem! The issue is not ODK per se - the issue is that if the LOG length will be enormous, GitHub actions will strike! |
Just a note: I think that I removed the |
Looks like this has actually likely been an issue since v1.8.3, but I just noticed it today, when I updated from v1.8.1 to 1.9.2.
Previously, verbose ROBOT log (console) output included timestamps; now it doesn't. E.g.:
Before (v1.8.1)
After (v1.9.2)
Looks like the essential issue might be that
logback.xml
is not found by java. Further, looks like that file was removed fromrobot-command/src/main/resources
at some point after @beckyjackson added it. I was able to "fix" the issue by copying the file that used to be there (https://github.com/ontodev/robot/blob/5c03178e563a24fe633609bd9c701f25e31b8df5/robot-command/src/main/resources/logback.xml) to my local machine and then updating therobot
shell script locally, so that the 2nd-to-last line is now:that's a hack... is there a better way?
The text was updated successfully, but these errors were encountered: