-
Notifications
You must be signed in to change notification settings - Fork 62
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
RtsLoggingUpdate #673
RtsLoggingUpdate #673
Conversation
…eral offline computing
@@ -1432,7 +1433,7 @@ if ( $#src > -1 ) { | |||
} | |||
} | |||
if ($pkg eq "RTS") { | |||
my $cppflags = "-DRTS_PROJECT_STAR -DTPXREADER -DRTS_LITTLE_ENDIAN"; | |||
my $cppflags = "-DRTS_PROJECT_STAR -DTPXREADER -DRTS_LITTLE_ENDIAN "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just making a note that the only difference in this line appears to be whitespace at the end of $cppflags
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any issues with cons. Internal changes to the logger look to me like code cleanup, so no comments there.
@@ -1,4 +1,7 @@ | |||
# STAR LEVEL for EVP code | |||
|
|||
starver SL23b | |||
starver SL23c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SL23b and SL23c are equivalent libraries, so this change has no effect.
@@ -197,7 +197,8 @@ if ( $pkg eq "Jevp") { | |||
. $main::PATH_SEPARATOR . "#OnlTools/Jevp/StJevpBuilders" | |||
. $main::PATH_SEPARATOR . "#OnlTools/Jevp/StJevpViewer" | |||
. $main::PATH_SEPARATOR . $CPPPATH; | |||
$CPPFLAGS .= " -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG "; | |||
$CPPFLAGS .= " -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG -DRTS_ENABLE_LOG "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jevp gets compiled when anyone checks out and compiled this star-sw
repository (including official library compilations at SDCC currently, e.g. $STAR/.sl73_gcc485/LIB/libJevp.so). Does this mean the logging will be enabled within Jevp for everyone? Is that the desired effect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regarding SL23b/SL23c I don't mind if it has no effect. it works for SL23c and it was the newest so its what I chose.
regarding the desired effect. Yes, that is the desired effect. The server is a rather special case, I wouldn't expect anyone to attempt to run it other than on the official servers. For the builders, which users do run while debugging, the default is set to write to stderror, so in order to see any output the users need to have logging enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to set a define easily at the compile step? via a cons flag or environment variable? If so, I would be happy to use such a mechanism, rather than set it globally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully, these changes were tested.
Seems like the new flag enables the logging logic introduced in #644
updates to allow RTS logging in Jevp while leaving it disabled in general offline computing