Project

General

Profile

Activity

From 05/05/2023 to 06/03/2023

06/01/2023

09:46 AM Bug #7291: LOG-MANAGER to log on client-side
> Can we have clients running in the server JVM? Basically my question is if @ThinClient@ static fields will always b... Greg Shah
07:16 AM Bug #7291: LOG-MANAGER to log on client-side
Can we have clients running in the server JVM? Basically my question is if @ThinClient@ static fields will always be ... Galya B
06:46 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Task branch 5703d was merged to trunk as rev 14595 and archived. Email sent. Galya B
06:29 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> Can you confirm this change ?
Yes, confirmed. It is a matter of preference. Some will like the change, some wi...
Greg Shah
05:01 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Also most FWD devs trace issues on the console, while I do it using the files, so my opinion may differ based on that... Galya B
04:56 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> In @LoggingUtil@ please set @SORTABLE_DATETIME_FORMAT@ to "%tY%tm%td_%tH%tM%tS". It just condens...
Galya B

05/31/2023

03:00 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Code Review Task Branch 5703d Revisions 14593 and 14594
The changes are good.
In @LoggingUtil@ please set @SORT...
Greg Shah
02:09 PM Bug #7291: LOG-MANAGER to log on client-side
I'm fine with the plan. Greg Shah
12:25 PM Bug #7291: LOG-MANAGER to log on client-side
Then what about making the design as simple and and clear as possible.
* @LOG-MANAGER@ will live on the server and t...
Galya B
09:06 AM Bug #7291: LOG-MANAGER to log on client-side
We need to move ahead with this task. We cannot assume that all customers can use server-side logging for @LOG-MANAG... Greg Shah

05/30/2023

12:21 PM Bug #7291: LOG-MANAGER to log on client-side
Pause the work while I consider what we lose by dropping this. Greg Shah
11:37 AM Bug #7291: LOG-MANAGER to log on client-side
Greg, I think LOG-MANAGER client-side implementation will end up:
* very fragile;
* with multiple rpc calls for one...
Galya B
08:24 AM Bug #7291: LOG-MANAGER to log on client-side
Greg, it's not that I'm lazy, but it really doesn't make sense to have LOG-MANAGER client-side. It's way too intertwi... Galya B
08:19 AM Bug #7291: LOG-MANAGER to log on client-side
Constantin Asofiei wrote:
> This is what I meant. It may work if all the validation/checks (which can raise OE erro...
Galya B
08:12 AM Bug #7291: LOG-MANAGER to log on client-side
Galya B wrote:
> ... but there are plenty of OE errors in initialization and the setters.
This is what I meant. It...
Constantin Asofiei
08:11 AM Bug #7291: LOG-MANAGER to log on client-side
Galya B wrote:
> but there are plenty of OE errors in initialization and the setters.
... which is (as we already...
Galya B
08:09 AM Bug #7291: LOG-MANAGER to log on client-side
There are no Java exceptions thrown, but there are plenty of OE errors in initialization and the setters.
It just ...
Galya B
07:51 AM Bug #7291: LOG-MANAGER to log on client-side
Galya, is there any condition which can be raised by any APIs which would use state sync? If this is so, then we must... Constantin Asofiei
05:00 AM Bug #7291: LOG-MANAGER to log on client-side
State sync doesn't seem to work well. On top of the the six getters, the following methods should also return a value... Galya B
08:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> Galya B wrote:
> Are you using a real Windows system?
I set up a VirtualBox VM, here is t...
Galya B
08:23 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya B wrote:
> Roger, I always have troubles with Windows builds, but when that is out of the way I can confirm th...
Roger Borrello
02:43 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger, I always have troubles with Windows builds, but when that is out of the way I can confirm that the latest trun... Galya B
02:11 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> Have you been able to run hotel_gui on Windows? I am having a lot of trouble getting clien...
Galya B

05/29/2023

02:40 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya B wrote:
> The Jetty info msg is not causing issues on any deployments. Do you still have this issue and can y...
Roger Borrello
01:02 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703d r14593 loggers to fallback to the default log file name if the provided path is invalid (can't be created or no... Galya B
10:07 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> Can you define @fail gracefully@? It will in all cases produce a crash log and the log does have a warning about th... Greg Shah
06:07 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya B wrote:
> Can you define @fail gracefully@? It will in all cases produce a crash log and the log does have a ...
Galya B
03:52 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote (#7378-909):
> Galya: The NPE is a bug that needs to be fixed. It needs to fail gracefully instead o...
Galya B
03:30 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> Well the result is the server no longer functions. This is on a Windows VM for which I have ...
Galya B

05/26/2023

10:31 AM Bug #7291: LOG-MANAGER to log on client-side
The state sych honors the order of operations because of these facts:
# The execution of code is effectively singl...
Greg Shah
08:45 AM Bug #7291: LOG-MANAGER to log on client-side
Now that I think more about it, the whole merge-two-sources-of-events-and-execute-them thing is problematic. It can't... Galya B
08:32 AM Bug #7291: LOG-MANAGER to log on client-side
How are supposed getters to work with state sync? I can create events for initialization, attr setters, write log rec... Galya B

05/24/2023

08:29 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya B wrote:
> This is a @Jetty@'s message, may be a new one to our logs; with the proper @slf4j@ support now 3rd ...
Roger Borrello
02:07 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> From what I researched, this means that the JVM doesn't support JPMS, which was introduced i...
Galya B

05/23/2023

01:54 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya B wrote:
> Yes, all messages are always logged / sent to the listening server process, where they are filtered...
Roger Borrello
11:29 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> DB import shows lots of INFO statements like:
> [...]
>
> These need to be lowered.
...
Constantin Asofiei
09:03 AM Bug #5703 (Test): rationalize, standardize and simplify the client-side log file name configuration
Task branch 5703c merged to trunk as rev 14583 and archived. Email sent. Logs wiki updated. Galya B
08:53 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Galya, please double-check the module name for all files changed in 5703c and also the h...
Galya B
08:39 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, please double-check the module name for all files changed in 5703c and also the history number:
* history num...
Constantin Asofiei
07:49 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I need a dedicated tester only for the headers... Maybe we need automated tests.
@CentralLoggerClientConfigs@ was ...
Galya B
07:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
* @LegacyLogManagerConfigs@ - still needs history entry
* @CentralLogger@ - there are only two trunk commits in this...
Constantin Asofiei
07:16 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
It may look weird, but it's not so bad, see:
Constantin Asofiei wrote:
> Galya, review for 5703c rev 14585:
> * ...
Galya B
07:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, review for 5703c rev 14585:
* @CentralLogger@ - only a history number is needed, like this:...
Constantin Asofiei
06:55 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703c rebased on trunk r14579. Galya B
06:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703c r14578 Fixed unused variable ‘j’ in spawn.c Galya B
06:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> I think we hold off for now. Let's finalize 5703c and get it merged today.
I don't have anythin...
Galya B
06:33 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Do you know what, Greg! This was an awesome example of why @INFO@ level is so much needed for all logging. How otherw... Galya B
06:32 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> If it's a simple fix, someone can upload it to this branch. I'm not sure what needs to be done.
I think we hold ...
Greg Shah
06:31 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> Is this to be solved in another task?
Yes, see #7377.
Greg Shah
06:27 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya B wrote:
> Is this to be solved in another task?
I think the related code was introduced with #2124 @bzr di...
Galya B
06:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> The core issue (already existing, not created by the logging changes) is that we are loading the ...
Galya B
06:04 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya B wrote:
> Roger, on executing @./server.sh -k@ with my configs now I get only:
> [...]
> But this was there...
Greg Shah
05:27 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger, on executing @./server.sh -k@ with my configs now I get only:... Galya B
05:26 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703c r14577 is up:
* Sets a default of WARNING to @SecurityCache@, when no explicit logging configs available for t...
Galya B
03:42 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger, thank you for reporting the inconsistencies. The messages you've seen are generated by @SecurityCache@ on leve... Galya B
02:29 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> Eugenie Lyzenko wrote:
> > As far as I can see the debug level now is always on maximum. Sh...
Galya B
10:02 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Eugenie Lyzenko wrote:
> As far as I can see the debug level now is always on maximum. Showing as much info as possi...
Roger Borrello
09:30 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> For the @winspawn.c@ I am lost as to how to find messages for debugging. Is there something ...
Eugenie Lyzenko
08:01 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
For the @winspawn.c@ I am lost as to how to find messages for debugging. Is there something to put in the directory, ... Roger Borrello
06:31 AM Bug #7377: ServerDriver.connect() should not force server-mode to be turned on
As discussed in #5703-608 and previous notes, the @ServerDriver.connect()@ will call @bc.setSever(true)@ and try to l... Greg Shah
06:30 AM Bug #7377: ServerDriver.connect() should not force server-mode to be turned on
Check #5703#note-610. Galya B
06:27 AM Bug #7377 (New): ServerDriver.connect() should not force server-mode to be turned on
Greg Shah
05:45 AM Bug #7375: Prevent spoofed logs in CentralLogger
Outside code can use @CentralLogger@ to create an instance of any @com.goldencode@ or anonymous (root) logger and use... Galya B
05:45 AM Bug #7375 (New): Prevent spoofed logs in CentralLogger
Galya B

05/22/2023

04:42 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Aside from the new found logging, I am happy with the way things are looking with my logging configuration for the ap... Roger Borrello
04:34 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> I think this should be cleaned up.
I'm not sure by whom, but I was trying to delve a little de...
Roger Borrello
02:50 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> > The thing that she fixed in 5703c is that the previous version of @ServerDriver.configureLogging()@ always forced... Greg Shah
01:23 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> The thing that she fixed in 5703c is that the previous version of @ServerDriver.configureLogging(...
Roger Borrello
12:03 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya mentioned that the code already had @ServerDriver.connect()@ line 939 where it forces @bc.setServer(true)@. Th... Greg Shah
11:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> That seems like a bug, maybe one that already existed but it needs to be fixed. In @-s@ mode the...
Roger Borrello
11:01 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
That seems like a bug, maybe one that already existed but it needs to be fixed. In @-s@ mode the server flag should ... Greg Shah
10:58 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> Roger: Please check that your issues are cleared using 5703c.
What is causing this level of ou...
Roger Borrello
09:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> Roger: Please check that your issues are cleared using 5703c.
Will do.
Roger Borrello
06:24 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger: Please check that your issues are cleared using 5703c. Greg Shah

05/19/2023

10:13 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703c r14576 (I uncommitted the previous revision): I think the logging with different server modes is fixed. Galya B
09:59 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
... Galya B
09:58 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Just a note: This is not a new change and it throws an exception when server is started in the modes without director... Galya B
08:49 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> The point here is: when something other than @MODE_START@ is being used, ServerDriver do...
Galya B
07:39 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> You can still print the same formatted messages from another anonymous logger somewhere else.
This was my point ...
Greg Shah
07:37 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Do we speak about intentional or unintentional logging fraud here? :) Galya B
07:36 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
But the past implementation still doesn't make sense... You can still print the same formatted messages from another ... Galya B
07:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
My conclusion is that the so called anonymous loggers that had some meaning in a security vulnerability prone Java Lo... Galya B
07:29 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> The output from it could be controlled such that the format was fixed and the class name portion was not overridden... Galya B
07:25 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> The idea was:
>
> * The instance was unique and could not be obtained by using the class or cl...
Galya B
07:13 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> > It existed before as the anonymous logger implementation. You could not use the class from one file to obtain th... Greg Shah
07:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
The only mutability in CentralLogger instance is the level and it's global, so consistent.
Galya B
07:11 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I hope I made it clear that CentralLogger is not Java logger, it's lightweight, simplified, completely different impl... Galya B
07:10 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
... Galya B
06:58 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Constantin Asofiei wrote:
> > Galya, related to ServerDriver changes: only @MODE_START@ ne...
Constantin Asofiei
06:58 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Also I don't see how anonymous loggers save you from having other named loggers used by 3rd party users of the framew... Galya B
06:57 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> It existed before as the anonymous logger implementation. You could not use the class from one f...
Galya B
06:55 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Greg Shah wrote:
> > Just because it was designed in to the Java logging framework doesn't...
Greg Shah
06:54 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> Just because it was designed in to the Java logging framework doesn't mean that it is a good idea...
Galya B
06:53 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Just because it was designed in to the Java logging framework doesn't mean that it is a good idea. In a JVM process ... Greg Shah
06:52 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Galya, related to ServerDriver changes: only @MODE_START@ needs to be checked against. ...
Galya B
06:51 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Traceability of logs is a matter of controlled reviewed development. But if you want to protect certain loggers, we c... Galya B
06:51 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, related to ServerDriver changes: only @MODE_START@ needs to be checked against. Also, I don't really understa... Constantin Asofiei
06:48 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Check "Java doc on Logger":https://docs.oracle.com/javase/8/docs/api/java/util/logging/Logger.html, there are about 1... Galya B
06:44 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
We can call the logger for example "Security" and have 10 classes output using it. Galya B
06:42 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
... Galya B
06:42 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I guess that means that anonymous loggers are not available in the new approach. Greg Shah
06:41 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Because random code should not be able to output to a logger for another class. Greg Shah
06:38 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> Is it still possible to create anonymous loggers?
Why?
Galya B
06:36 AM Bug #5703 (Review): rationalize, standardize and simplify the client-side log file name configura...
Greg Shah
06:33 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Is it still possible to create anonymous loggers? Based on what I have read above and on the wiki, it seems like thi... Greg Shah
05:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I'm done with what I'm aware of. If there are any outstanding issues, please let me know. Galya B
05:07 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Here are the server run modes:... Galya B
04:41 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703c based on latest trunk r14572 has the following changes in r14573-14575:
* @%as@ properly supported for @server...
Galya B
02:52 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> Galya Bogdanova wrote:
> > @%as@ placeholder (appserver name) is now properly supported for...
Galya B
02:52 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> > I believe there is a regression in that when I run @./server.sh -w@ for checking on status of t...
Galya B
02:26 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Greg Shah wrote:
> > Were these both resolved in 5703b?
> > > DB import shows lots of ...
Galya B
06:07 AM Bug #7354: do not log keystore/truststore passwords when dumping arguments during spawning
Greg, as can be seen in #7354-3, the title of this task is a bit too narrow. Also @sun.java.command@ needs some secre... Tijs Wickardt

05/18/2023

12:37 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> @%as@ placeholder (appserver name) is now properly supported for FWD log file names (previo...
Roger Borrello
11:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> I believe there is a regression in that when I run @./server.sh -w@ for checking on status of the server process, a... Greg Shah
11:18 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> Were these both resolved in 5703b?
> > DB import shows lots of INFO statements like:
Only this ...
Constantin Asofiei
11:16 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> DB import shows lots of INFO statements like:
> ...
> Regression: @RemoteObject@ can be used from standalone JVMs...
Greg Shah
09:51 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703b merged in trunk as r14572, email sent. I'm starting on rotation disabling and server logs on console in 5703c. Galya B
09:10 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Roger, can I see this wrapper that parses logs, you're referring to?
See attached.
Roger Borrello
08:56 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, please add a history entry to @CentralLoggerClientStandalone@ and after that you can merge. All is good on my... Constantin Asofiei
08:53 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Then the last question would be if there is world where someone wants to get rid of my work...
Roger Borrello
08:50 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> > It seems reasonable. Any @rotation < 2@ should mean explict disabling.
>
> To me (for what it's worth :-), @r...
Greg Shah
08:49 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Constantin, can we merge 5703b to fix the class loader? Sergey has decided to not work on #...
Constantin Asofiei
08:48 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> It seems reasonable. Any @rotation < 2@ should mean explict disabling.
To me (for what it's w...
Roger Borrello
08:43 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin, can we merge 5703b to fix the class loader? Sergey has decided to not work on #7357 until CentralLogger i... Galya B
08:41 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Or worse, 2 same files, or even worse, 1 file with FileHandler and srderr redirect writing to it. Galya B
08:40 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
OK, just keep in mind that someone may like the new configs, use them locally and migrate customers to having both se... Galya B
08:38 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> My problem with this whole rework "make it as it was before" is that noone will migrate properly customers, if it w... Greg Shah
08:37 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> Then the last question would be if there is world where someone wants to get rid of my work .. I meant log files co... Greg Shah
08:36 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
My problem with this whole rework "make it as it was before" is that noone will migrate properly customers, if it wor... Galya B
08:31 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Then the last question would be if there is world where someone wants to get rid of my work .. I meant log files comp... Galya B
08:30 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
If freedom should be allowed, then I can make @rotationLimit=0@ to completely disable rotation, instead of passing it... Galya B
08:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I'd rather have an explicit option to enable console logging (or anything else), this allows flexibility; 'DEV' is to... Constantin Asofiei
08:25 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Or allow the comfort of the old world to everyone - put all in one easily replaceable file and print to console by se... Galya B
08:24 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
OK, what about if ... we get one new config called @logging/DEV@ that will enable server logs to System.err (like wha... Galya B
08:20 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> Logs in the IDE console is a convenience for development, but is it of any value to customers?
I agree this is p...
Greg Shah
08:18 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Also keep in mind that server logs is just a piece of the whole picture and client logs will never be printed on the ... Galya B
08:16 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
You probably use the old integrated environment. Since I don't, I've never seen server logs in the console. Logs in t... Galya B
08:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Constantin, do you think about parsing the logs that's why rotation is in the way, or you h...
Constantin Asofiei
08:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
There are no rules for the pros I guess :) Galya B
08:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> > What is this @<node class="string" name="path.chui">@ ? Where did the @.gui@, @.chui@ come from...
Galya B
08:04 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> What is this @<node class="string" name="path.chui">@ ? Where did the @.gui@, @.chui@ come from?
We have a mecha...
Greg Shah
08:02 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> > Galya, is there a way to configure the @logging@ so that there is a single file, with no rotation?
> At the mome...
Greg Shah
07:48 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin, do you think about parsing the logs that's why rotation is in the way, or you have different concerns? Galya B
07:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Galya, is there a way to configure the @logging@ so that there is a single file, with no...
Galya B
07:37 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, is there a way to configure the @logging@ so that there is a single file, with no rotation? Constantin Asofiei
07:27 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> My only questions is should I include @serverSide=TRUE@.
Probably, yes.
Greg Shah
06:02 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Is @org.hibernate.cache@ still used? There is this logger in testcases configs and I believ...
Constantin Asofiei
05:56 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Is @org.hibernate.cache@ still used? There is this logger in testcases configs and I believe it's not used any more. Galya B
04:11 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger, can I see this wrapper that parses logs, you're referring to? Galya B
03:44 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
@%as@ placeholder (appserver name) is now properly supported for FWD log file names (previous worked only for legacy ... Galya B
02:59 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
As of @rotationCount@ if there is no disk space limitation known beforehand, I recommend to make it more, otherwise l... Galya B
02:57 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Also @rotationLimit@ is by default @500000@, so you can just omit it. Galya B
02:54 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
What is this @<node class="string" name="path.chui">@ ? Where did the @.gui@, @.chui@ come from? Galya B

05/17/2023

05:25 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I think I am happy with my new configuration. With this, I can cover ChUI and GUI:... Roger Borrello
05:02 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
FYI, tokens work fine. My entry for ChUI clients is:... Roger Borrello
04:28 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> Roger Borrello wrote:
> > Where does the @%as@ value come from?
>
> It looks like everyw...
Roger Borrello
04:15 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> Where does the @%as@ value come from?
It looks like everywhere @LoggingUtil.resolveLogFil...
Roger Borrello
02:57 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Roger, I got you! You're running multiple servers at the same time and still asking why the...
Roger Borrello
11:55 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Eugenie,
> This log is in fwd_server_*.log I guess:
> [...]
> Let's figure out why FINE ...
Eugenie Lyzenko
11:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> > > ** ServerDriver special modes for status checking, shutdown processing, batch program launch
...
Constantin Asofiei
10:54 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> > ** ServerDriver special modes for status checking, shutdown processing, batch program launch
> Gold mine! It cli...
Greg Shah
10:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Truth being told, @%m%g.log@ is not a prod config. It can work only for Hotel GUI and that is only if you don't do th... Galya B
10:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> Conversion tools don't use sessions. Sessions are used by:
> [...]
> ** ServerDriver special m...
Galya B
09:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> I mean how do tools configure a session?
Conversion tools don't use sessions. Sessions are used by:
* FWD cl...
Greg Shah
09:23 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Eugenie,
This log is in fwd_server_*.log I guess:...
Galya B
09:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Galya: regarding log rotation. I have a config where the server log name is @server.log...
Galya B
09:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> i.e. why is the default logger used with RemoteObject?
A separate JVM connects via the app...
Constantin Asofiei
09:02 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
i.e. why is the default logger used with RemoteObject? Galya B
08:58 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I mean how do tools configure a session? Galya B
08:57 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Do we have RemoteObjects used by tools? Galya B
08:56 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
By the way the fix is up. Galya B
08:51 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> The problem is not that logs are filtered or not - the problem is @RemoteObject$RemoteAc...
Galya B
08:49 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Constantin, that being said, it's still not a critical bug. Logs are still properly filtere...
Constantin Asofiei
08:48 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin, that being said, it's still not a critical bug. Logs are still properly filtered out in @publish(LogRecor... Galya B
08:27 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> See this test:
> [...]
> It prints @true@.
Aaaaah, that is because I developed withou...
Galya B
08:23 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> I don't understand the problem. isLoggable should return true before the logging configs ki...
Constantin Asofiei
08:20 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg, I want multithreaded Redmine tasks! How do I keep 3 conversations sensible in one timeline. Galya B
08:18 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Eugenie Lyzenko wrote:
> > Can you please clarify the new style log entries like this:
> ...
Eugenie Lyzenko
08:16 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Eugenie Lyzenko wrote:
> Can you please clarify the new style log entries like this:
The problem I guess is that yo...
Galya B
08:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Eugenie Lyzenko wrote:
> Can you please clarify the new style log entries like this:
>
> [...]
>
> Is it expec...
Galya B
08:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> > the problem in #5703-417 is still present; there is something wrong with this stack:
...
Galya B
08:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya,
Can you please clarify the new style log entries like this:...
Eugenie Lyzenko
07:55 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> the problem in #5703-417 is still present; there is something wrong with this stack:
because the isLoggable(Level)...
Constantin Asofiei
07:54 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Greg Shah wrote:
> > > Hynek: please review the @ext/sheet/build.gradle@ change
> >
> >...
Constantin Asofiei
07:48 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Roger Borrello wrote:
> > The wrapper needs to know what the server logfile name is, witho...
Roger Borrello
07:41 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> > If there is any other way to deploy the war without the main classpath, that is something to co...
Galya B
07:39 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> If there is any other way to deploy the war without the main classpath, that is something to consider.
Not that ...
Greg Shah
07:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Also Eugenie tested it. Me too. If there is any other way to deploy the war without the main classpath, that is somet... Galya B
07:10 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> > Hynek: please review the @ext/sheet/build.gradle@ change
>
> Hynek is not available until Fr...
Galya B
07:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> Hynek: please review the @ext/sheet/build.gradle@ change
Hynek is not available until Friday. We need to make t...
Greg Shah
07:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703b r14577.
> * @src/com/goldencode/p2j/util/logging/CentralLoggerClientStandalone.java@ has just whitespace chang...
Galya B
06:47 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, review for 5703b rev 14576:
* @src/com/goldencode/p2j/util/logging/CentralLoggerClientStandalone.java@ has ju...
Constantin Asofiei
06:38 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Can someone approve 5703b, cause it has important fixes that need to be merged and then we can improve on rotation in... Galya B
06:23 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> I agree with Roger, that seems like a bug in the J2SE code. It is certainly not intuitive, when ...
Galya B
06:22 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Roger Borrello wrote:
> > The wrapper needs to know what the server logfile name is, witho...
Greg Shah
03:26 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
* 5703b r14576 server and client default log file names separated. Server default without pid.
* Tested.
* *Rea...
Galya B
03:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
What is the limitation in the wrapper of having no logic? Can it not find the last updated @server*.log@ file and par... Galya B
02:47 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> The wrapper needs to know what the server logfile name is, without having to make any logica...
Galya B
02:22 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> The wrapper needs to know what the server logfile name is, without having to make any logica...
Galya B

05/16/2023

05:36 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Eugenie Lyzenko wrote:
> > Sorry, this is another issue I guess. Because location is diffe...
Eugenie Lyzenko
04:41 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Roger Borrello wrote:
> > After a few retries, I see the most recent file is now @server0....
Roger Borrello
04:18 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Eugenie Lyzenko wrote:
> Sorry, this is another issue I guess. Because location is different. Happen when I tried to...
Galya B
04:11 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Eugenie Lyzenko wrote:
> > Confirm fixed areas. Please consider to resolve #7143-174 issue...
Eugenie Lyzenko
04:02 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger, a clarification: LOG-MANAGER logs are configured with @clientlog@ and don't support @%g@. There is default onl... Galya B
03:57 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Eugenie Lyzenko wrote:
> Confirm fixed areas. Please consider to resolve #7143-174 issue. It is still active.
This ...
Galya B
03:49 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> 5703b r14574:
> * should fix all issues described by Eugenie - #7143-173, #7143-168, #7143...
Eugenie Lyzenko
03:46 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> After a few retries, I see the most recent file is now @server0.log.1@, and the @server0.log...
Galya B
03:31 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Galya, please use Hotel GUI and do a before and after comparison of the conversion log a...
Galya B
03:20 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Hi Galya... I certainly do like the cleaner logging process, and will test my customers application on *5703b* so as ... Roger Borrello
02:54 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Eugenie, removing @slf4j-api@ from all dependencies in sheet should be enough to fix the is...
Galya B
02:44 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Eugenie, removing @slf4j-api@ from all dependencies in sheet should be enough to fix the issue. Galya B
02:39 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703b r14574:
* should fix all issues described by Eugenie - #7143-173, #7143-168, #7143-169;
* adds @setServer@ to...
Galya B
01:12 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> We can always add @bc.setServer(true);@ without the @if@, since this code is in @ServerDriv...
Roger Borrello
12:51 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
We can always add @bc.setServer(true);@ without the @if@, since this code is in @ServerDriver@, but I've never seen t... Galya B
12:45 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> I made appropriate updates to @directory.xml@ as directed for my application.
>
> I belie...
Roger Borrello
11:05 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
The exact call is indeed part of jetty, but I was trying to debug the part around setting a context class loader in @... Galya B
11:03 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> I try to debug the sheet war. I have both the server and client debuggers connected, but th...
Eugenie Lyzenko
10:15 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I try to debug the sheet war. I have both the server and client debuggers connected, but the breakpoint in @SheetCont... Galya B
10:13 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> I can't debug @SheetControllerImpl@ that is part of the war. Debugging doesn't hit the brea...
Constantin Asofiei
10:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
It's deployed as @org.eclipse.jetty.webapp.WebAppContext@ in @SpreadsheetDriverWidget@ and the war is set to the cont... Galya B
10:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I can't debug @SheetControllerImpl@ that is part of the war. Debugging doesn't hit the breakpoints. Galya B
09:51 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Eugenie Lyzenko wrote:
> Greg Shah wrote:
> > > Do we always use @fwd_sheet.war@ from a web process spawned by the ...
Greg Shah
09:51 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> > Do we always use @fwd_sheet.war@ from a web process spawned by the server or as a separate tool...
Eugenie Lyzenko
09:46 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> Do we always use @fwd_sheet.war@ from a web process spawned by the server or as a separate tool as well?
Neither...
Greg Shah
09:41 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Do we always use @fwd_sheet.war@ from a web process spawned by the server or as a separate tool as well? Galya B
09:25 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
There are two classloaders, loading probably the same implementation of slf4j twice and considering it different. In ... Galya B
08:27 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I'll be debugging for a while the sheet project bug with loading slf4j. It is related to some dependencies using @org... Galya B
07:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> The easiest is to simply not include pid ever in server log file name using a placeholder.
No, allowing the pid ...
Greg Shah
06:55 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
The easiest is to simply not include pid ever in server log file name using a placeholder. Do you want to keep it as ... Galya B
06:53 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
The client side is better with it so let's consider options for not having a single cfg entry for both names. Greg Shah
06:50 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> Let's remove the pid from the default server log file name so that by default we are not trying t...
Galya B
06:49 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Let's remove the pid from the default server log file name so that by default we are not trying to load the native li... Greg Shah
06:46 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> @logging.properties@ won't do
I agree with this, we don't use props files. We use good defaults and allow optio...
Greg Shah
05:38 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, please use Hotel GUI and do a before and after comparison of the conversion log and db import logs. There are... Constantin Asofiei
05:21 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Regression: add a bogus jar to the classpath (just at the beginning) and this is shown w...
Galya B
05:00 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> DB import shows lots of INFO statements like:
> ...
Galya B
04:26 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Galya, we have some priorities to fix:
> * default any logger (including the ones init...
Galya B
04:20 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, we have some priorities to fix:
* default any logger (including the ones initialized from directory.xml) to ...
Constantin Asofiei
04:19 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Especially because in @CentralLoggerFallback@ we have that notion of System.out being Level.INFO and below:... Galya B
04:10 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> I don't mean to not allow logging levels via some command line argument (or maybe a logg...
Galya B
04:02 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Constantin Asofiei wrote:
> > Please consider a default logging level of WARNING. You can...
Constantin Asofiei
04:00 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Please consider a default logging level of WARNING. You can make it globally - if even ...
Galya B
03:56 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Regression: @RemoteObject@ can be used from standalone JVMs (i.e. JavaOpenClient). The ...
Galya B
03:56 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, for the standalone tools - this includes conversion, import, standalone JVMs (not FWD server/client) using FWD... Constantin Asofiei
03:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> DB import shows lots of INFO statements like:
> [...]
>
> These need to be lowered.
...
Galya B
02:40 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> Is tilde (@~@) supported in the filename so that the configuration can cover all users?
The...
Galya B

05/15/2023

02:22 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Regression: add a bogus jar to the classpath (just at the beginning) and this is shown when starting the FWD server; ... Constantin Asofiei
02:20 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Regression: @RemoteObject@ can be used from standalone JVMs (i.e. JavaOpenClient). The logging defaults to 'FINE' (f... Constantin Asofiei
02:01 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya,
Do you have any ideas how to resolve #7143-168, #7143-169 issues/regressions?
Eugenie Lyzenko
02:00 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
DB import shows lots of INFO statements like:... Constantin Asofiei
11:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I made appropriate updates to @directory.xml@ as directed for my application.
I believe there is a regression in t...
Roger Borrello
07:59 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Roger Borrello wrote:
> Is tilde (@~@) supported in the filename so that the configuration can cover all users?
N...
Greg Shah
11:26 AM Bug #7354: do not log keystore/truststore passwords when dumping arguments during spawning
Further info: it was also detected at the client log. Search for 'password' in the client log output below.... Tijs Wickardt
10:58 AM Bug #7354: do not log keystore/truststore passwords when dumping arguments during spawning
In #6879, it was noted that our log output should not contain passwords for keystores/truststores:... Greg Shah
10:55 AM Bug #7354 (New): do not log keystore/truststore passwords when dumping arguments during spawning
Greg Shah

05/12/2023

05:10 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Is tilde (@~@) supported in the filename so that the configuration can cover all users? Roger Borrello
10:28 AM Bug #5703 (Test): rationalize, standardize and simplify the client-side log file name configuration
Greg Shah
10:13 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
5703a has been merged to trunk, the branch is archived and an email is sent. Galya B
10:13 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
@System.err@ and @t.printStackTrace@ being replaced followed a certain logic:
* Exceptions are either WARNING or SEV...
Galya B
08:54 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
OK, thank you. Constantin Asofiei
08:35 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Previously the code worked because the field's type was outside of FWD or converted app'...
Galya B
08:17 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> is @com.goldencode.trpl@ obsolete? I don't see it anywhere being used.
It is experimental and not in use yet. Y...
Greg Shah
08:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, no, do something else: in @ControlFlowOps.initializeLegacyClass@, there is this code:... Constantin Asofiei
08:09 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
The static CentralLogger fields in the Json* classes lead to @java.lang.IllegalStateException: Field private static f... Galya B
08:05 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin, here it is, I am finally able to reproduce it on the client's project:... Galya B
07:04 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
TODO: add @TransformDriver@ cmd line arg parsing to set the level of logging. Ref #7180. Galya B
04:23 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Hotel Gui throws @build.xml:538: Warning: Could not find file adm_windows.json to copy.@ on @ant jar deploy.prepare@.... Galya B
03:42 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Note: Decide what to do with @com.goldencode.trace@, @LoggingAspect@ and @LogExecution@. Galya B
03:39 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Even if @com.goldencode.trpl@ is not used, I guess @ConversionStatus@ will be more appropriate, so changing it. Galya B
03:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Is @com.goldencode.expr@ also a conversion package?
Yes
Constantin Asofiei
03:33 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Is @com.goldencode.expr@ also a conversion package? Galya B
03:29 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Question: @uast@ was identified as conversion package, where @ConversionStatus@ should be u...
Constantin Asofiei
03:25 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Question: @uast@ was identified as conversion package, where @ConversionStatus@ should be used, but there is also @co... Galya B
02:17 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Here a few notes for future logging improvements and things to consider. I've just noticed we have:
* @SQLStatementL...
Galya B

05/11/2023

12:12 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya: Starting tomorrow morning, trunk will be frozen for the day (or until you merge whichever is *shortest*). If ... Greg Shah
11:43 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> > * @CentralLoggerServer.initialize@ - in @processIdSupplier@ lambda, enclose the code in ...
Constantin Asofiei
11:32 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Review for 5703a/14630:
> * @CentralLoggerServer.isLogicalTerminalInitialized@ and @Cen...
Galya B
11:20 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Review for 5703a/14630:
* @CentralLoggerServer.isLogicalTerminalInitialized@ and @CentralLogger.invalidateLoggerTree...
Constantin Asofiei
10:49 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
This is lovely. I can confirm that now we can configure logging everywhere in every way we like. :D
Default loggin...
Galya B
08:56 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
The epic config:... Galya B
06:10 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Also it means that there is no default @fwd_server...log@ file ever, because the default constant that is a fallback ... Galya B
06:00 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> Client sessions, even when processed on the server-side, should support the same substitutions as...
Galya B
05:57 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Client sessions, even when processed on the server-side, should support the same substitutions as if the processing h... Greg Shah
05:54 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I'm asking about the logic of what is the expected behavior of the configs. Galya B
05:54 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> Move @ClientParameters@ processing earlier in @ClientCore.initialize()@.
Don't worry about the...
Galya B
05:50 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Move @ClientParameters@ processing earlier in @ClientCore.initialize()@. Greg Shah
05:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> > Both server and client paths support date time, the default Formatter specifiers and the custom...
Galya B
05:40 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> We'll be adding now the file path and rotation size and count if resolved for the account or from server/default/lo... Greg Shah
05:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Galya Bogdanova wrote:
> > * If @server/default/logging@ is supposed to be fallback for...
Galya B
05:24 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Soooo for serverSide logging, the client should send the configs to the server to overwrite directory.xml? Galya B
02:50 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> I think the logging levels are global (can't be set for each account). Everything else ...
Galya B
02:43 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> * I'm not sure if Greg wants all logging configs to be available for each account. There is...
Constantin Asofiei
02:40 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> @runtime/<account>/logging@ can this be used by the server account?
If you are referring f...
Constantin Asofiei
02:11 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
@runtime/<account>/logging@ can this be used by the server account? Galya B
01:51 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> My biggest concern would be if @serverSide@ is @false@ and the client should write to a pat...
Constantin Asofiei
01:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Greg I think proposes for the log config lookup, in case of the FWD client logs, to be d...
Galya B

05/10/2023

12:27 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin: Thanks for explaining it. You did better than me. :) Greg Shah
10:52 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, some notes related to client logs.
In appserver case, for OE/legacy output, FWD must allow to send all thes...
Constantin Asofiei
08:38 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> As with nearly everything we configure, we expect there to be the following:
>
> * A directory...
Galya B
08:37 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> What I found difficult with the current way is that each agent creates its own file, and...
Galya B
08:31 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> > > (This should be expected, just to keep it in mind) The appserver client now creates a separate log file, while ... Greg Shah
08:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg, then I'll be waiting for your feedback on what client log file configs we want (#5703-360, #5703-361, #5703-362... Galya B
08:05 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I was wrong about the appserver. Actually we had that as another log file from stderr (currently on trunk it's @%type... Galya B
07:52 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Greg Shah wrote:
> > (This should be expected, just to keep it in mind) The appserver client now creates a separate ...
Galya B
07:46 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> (This should be expected, just to keep it in mind) The appserver client now creates a separate log file, while I be... Greg Shah
05:05 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Also it needs to be path for client-side logging and a name for server-side logging. Another funky aspect. Galya B
05:03 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
There is a hard-coded default now for clients @fwd_client_" + SORTABLE_DATETIME_FORMAT + "_" + "%uos_%pid_%uf_%g.log@... Galya B
04:59 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
I'm very confused from the whole logging epic. If you check how the Global Lifecycle section in [[internal-documentat... Galya B
04:24 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> I don't understand - are you saying that you don't see the log messages until the appser...
Galya B
04:16 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> Galya Bogdanova wrote:
> > (This should be expected, just to keep it in mind) The appserve...
Constantin Asofiei
04:14 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya Bogdanova wrote:
> (This should be expected, just to keep it in mind) The appserver client now creates a separ...
Galya B
04:02 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
A few more classes (e.g. @SSL@, @BlockingSSL@) had to exclude @SecurityManager@ context. Now the tests pass for @net:... Galya B
08:06 AM Feature #1848: make logging settings controllable dynamically at runtime
Client levels invalidation needs more work, check #5703-356 point 2. Galya B
08:04 AM Feature #1848: make logging settings controllable dynamically at runtime
Greg Shah wrote:
> For performance reasons we often cache the result of @isLoggable()@. This should be maintained. ...
Galya B

05/09/2023

10:05 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
If I remember correctly this deadlock appeared only with rpc calls and it's slightly difficult to test it now, becaus... Galya B
07:41 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Set @net:socket:nio=false@ at:
* server.sh for FWD server startup
* client.sh or other script to launch individual ...
Constantin Asofiei
07:35 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Constantin Asofiei wrote:
> Galya, I think just some tests to see that appserver/batch/UI client work OK, in both ni...
Galya B
06:26 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Galya, I think just some tests to see that appserver/batch/UI client work OK, in both nio and non-nio SSL, should be ... Constantin Asofiei
07:14 AM Bug #7291: LOG-MANAGER to log on client-side
> but if it's a disconnect or an unexpected exception on the server, the queue on the server will be lost
Underst...
Greg Shah
05:21 AM Bug #7291: LOG-MANAGER to log on client-side
At the moment LOG-MANAGER logs all messages with the client pid. Do we want to differentiate between server source an... Galya B
02:11 AM Bug #7291: LOG-MANAGER to log on client-side
Greg Shah wrote:
> I do think we might want to use state sync to avoid round trips to the client.
With state sync t...
Galya B

05/08/2023

02:38 PM Bug #7291: LOG-MANAGER to log on client-side
> I guess we want to use OS resource 'filesystem' and hide the details of where the operations are executed. So the c... Greg Shah
07:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
> What do you think is the proper level of trace and LoggingNetSocket? I think the lowest FINEST is probably better s... Greg Shah
04:50 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Code review requests applied with 5703a r14625 and r14626:
* @NIONetSocket@ checks for loggable before each log st...
Galya B
02:36 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
There are some inconsistencies with the logging in the Socket classes.... Galya B

05/05/2023

11:41 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
Review for 5703a rev 14623:
* @NIONetSocket@ - please add the @if (isFineLoggable)@ condition to the previous @trace...
Constantin Asofiei
11:24 AM Bug #7291: LOG-MANAGER to log on client-side
With option B. syncing the errors of the LOG-MANAGER itself between the server and the client, will also have to be r... Galya B
11:15 AM Bug #7291: LOG-MANAGER to log on client-side
The other option would be to not use #4065 and filesystem OS resource.
The code in LOG-MANAGER remains the same. W...
Galya B
11:05 AM Bug #7291: LOG-MANAGER to log on client-side
So how to make LOG-MANAGER distributed?
- The server has the attribute getters, setters, receives logs from differen...
Galya B
10:46 AM Bug #7291: LOG-MANAGER to log on client-side
Constantin Asofiei wrote:
> As a side note, we still have the FWD client logs, which will also be on server-side, i...
Galya B
10:40 AM Bug #7291: LOG-MANAGER to log on client-side
Greg Shah wrote:
> > Now lets confirm the other side of the matter. Do I understand correctly that when the context-...
Constantin Asofiei
10:36 AM Bug #7291: LOG-MANAGER to log on client-side
A note: appserver clients will be an exception to any rule, no client-side writing for them, because it needs to be o... Galya B
10:25 AM Bug #7291: LOG-MANAGER to log on client-side
All the logging tasks are trying to make distributed structures that are naturally singleton / monolith. Distributed ... Galya B
10:17 AM Bug #7291: LOG-MANAGER to log on client-side
I make it sound way too easy. I will have to rework a lot.
* Currently LegacyLogManagerImpl keeps a reference to the...
Galya B
09:31 AM Bug #7291: LOG-MANAGER to log on client-side
> Now lets confirm the other side of the matter. Do I understand correctly that when the context-local @OSResourceMan... Greg Shah
08:54 AM Bug #7291: LOG-MANAGER to log on client-side
Now lets confirm the other side of the matter. Do I understand correctly that when the context-local @OSResourceManag... Galya B
08:48 AM Bug #7291: LOG-MANAGER to log on client-side
Greg Shah wrote:
> Option 4 although it is unlikely that OE is ever involved on the same system. It is more likely ...
Galya B
08:32 AM Bug #7291: LOG-MANAGER to log on client-side
Option 4 although it is unlikely that OE is ever involved on the same system. It is more likely that the installatio... Greg Shah
08:25 AM Bug #7291: LOG-MANAGER to log on client-side
Greg Shah wrote:
> In regard to locking, if we have to use OS level locks to get the right behavior with multiple pr...
Galya B
08:23 AM Bug #7291: LOG-MANAGER to log on client-side
Greg Shah wrote:
> I wouldn't say "standalone". These are just clients not launched by the spawner. Logging behavi...
Galya B
08:22 AM Bug #7291: LOG-MANAGER to log on client-side
Galya Bogdanova wrote:
> Greg Shah wrote:
> > What do you mean by "standalone clients"?
> Not web/appserver/schedu...
Greg Shah
08:21 AM Bug #7291: LOG-MANAGER to log on client-side
> > It is context-local. That is what I mean when I say "for a given session". Using context-local is how we make s... Greg Shah
08:20 AM Bug #7291: LOG-MANAGER to log on client-side
> > I need a clarification on @OSResourceManager.isServerSideFileSystem@. @filesystem@ is enabled by being included i... Greg Shah
08:19 AM Bug #7291: LOG-MANAGER to log on client-side
> Also in the context of logging it matters if it's a remote client (on a different host) or not. I spoke about synch... Greg Shah
08:16 AM Bug #7291: LOG-MANAGER to log on client-side
Greg Shah wrote:
> It is context-local. That is what I mean when I say "for a given session". Using context-local ...
Galya B
08:15 AM Bug #7291: LOG-MANAGER to log on client-side
> > If for a given session, server-side filesystem support is enabled, then all filesystem usage will be on the serve... Greg Shah
08:13 AM Bug #7291: LOG-MANAGER to log on client-side
Galya Bogdanova wrote:
> I need a clarification on @OSResourceManager.isServerSideFileSystem@. @filesystem@ is enabl...
Galya B
08:12 AM Bug #7291: LOG-MANAGER to log on client-side
Also in the context of logging it matters if it's a remote client (on a different host) or not. I spoke about synchro... Galya B
08:11 AM Bug #7291: LOG-MANAGER to log on client-side
Greg Shah wrote:
> If for a given session, server-side filesystem support is enabled, then all filesystem usage will...
Galya B
08:10 AM Bug #7291: LOG-MANAGER to log on client-side
Greg Shah wrote:
> What do you mean by "standalone clients"?
Not web/appserver/scheduled batch/single running on th...
Galya B
08:08 AM Bug #7291: LOG-MANAGER to log on client-side
> I need a clarification on @OSResourceManager.isServerSideFileSystem@. @filesystem@ is enabled by being included in ... Greg Shah
08:05 AM Bug #7291: LOG-MANAGER to log on client-side
> If remote clients' file systems are accessible through the OS Resources as expected from #4065, then LOG-MANAGER ca... Greg Shah
07:57 AM Bug #7291: LOG-MANAGER to log on client-side
I need a clarification on @OSResourceManager.isServerSideFileSystem@. @filesystem@ is enabled by being included in th... Galya B
03:08 AM Bug #7291 (WIP): LOG-MANAGER to log on client-side
Galya B
 

Also available in: Atom