Activity
From 04/10/2023 to 05/09/2023
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...
- 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 ... - 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... - 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 ...
- 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... - 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...
- 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...
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...
- 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...
- 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... - 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....
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... - 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...
- 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... - 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... - 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... - 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-... - 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...
- 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 ...
- 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... - 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...
- 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...
- 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 ... - 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...
- 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... - 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... - 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... - 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...
- 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...
- 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...
- 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 ... - 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...
- 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... - 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...
- 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... - 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... - 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 ...
- 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...
- 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...
- 03:08 AM Bug #7291 (WIP): LOG-MANAGER to log on client-side
05/04/2023
- 08:46 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- I'll have to rebase to test with the customer project according to #7143#note-137, so I'll be waiting for the final r...
- 07:40 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Are you saying that it fails differently each time you run @ant deploy.all@ with the current vers... - 07:31 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> I'm trying to run hotel-gui with 5703a, but I'm getting different exceptions. On @ant deplo... - 04:02 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- With a certain customer project I got another one, when running the server:...
- 03:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- I'm trying to run hotel-gui with 5703a, but I'm getting different exceptions. On @ant deploy.all@:...
- 07:19 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 can ...
04/28/2023
- 01:32 AM Feature #7279: Enhance CentralLogger to support configurable LogFormatter
- As requested in #4065-104 support optional (configurable) shorter versions of package names. Check how other logging ...
04/27/2023
- 08:26 AM Feature #1848: make logging settings controllable dynamically at runtime
- > A note: With #5703 all levels can be changed dynamically. To not lose logs, when the level is lowered, @isLoggable(...
- 05:23 AM Feature #1848: make logging settings controllable dynamically at runtime
- A note: With #5703 all levels can be changed dynamically. To not lose logs, when the level is lowered, @isLoggable()@...
- 05:09 AM Feature #1848: make logging settings controllable dynamically at runtime
- A note: For dynamic levels to apply to all child packages and classes, all loggers should have fully qualified names ...
04/26/2023
- 09:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- I've completed all that was on my mind with this task. Today I added some final touch-ups to the yesterday's changes ...
- 09:03 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Actually I was working on @SecurityManager@ two months ago #5703#note-28. I just want to double check.
* Its custom ...
04/25/2023
- 10:49 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Since the only security issue here is related to log file output, I think the danger is quite limited. Rather than h...
- 07:39 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- "Using Expressions in Access Rights":/artifacts/javadoc/latest/api/com/goldencode/p2j/security/package-summary.html#U...
- 02:25 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Can someone give me an example of @access rights expressions@ (refs com.goldencode.p2j.security.VariablePool)? @getRe...
04/24/2023
- 01:10 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- In regard to the @AdminServerImpl@ use of @LOG.setLevel(Level.FINER);@, I think it should be deleted. There is no re...
- 10:01 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Good
- 09:59 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Also when server-side enabled I have to fix it to produce separate files by generating them dynamically based on some...
- 09:56 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- OK, may I then implement these requirements so:
* there is a directory.xml flag @logging/serverSide@ by default fals... - 09:46 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > > When we are configured for server-side logging, it no longer makes sense for there to be a separate FWD client lo...
- 08:58 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> When we are configured for server-side logging, it no longer makes sense for there to be a separa... - 08:48 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > Why do we need to write client logs from the server for FWD logs - client logs are generated on the client and serv...
- 08:43 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Let's put LOG-MANAGER aside and discuss it in #7291.
Why do we need to write client logs from the server for FWD l... - 08:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > > Permissions are always an issue in client scenarios, remote or local. The client must have proper permissions fo...
- 05:04 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Since there is no merging of client and server files in any of the supported cases, I want to present a well-rounded ...
- 04:49 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- May I be excused to have the audacity to summarize the requested changes as:
* the same number of files in compariso... - 04:23 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- I'm reading #4065 and the code. I believe the core concept is the only one relevant here. If I understand properly, c...
- 01:36 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Permissions are always an issue in client scenarios, remote or local. The client must have prope...
04/21/2023
- 11:26 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> I remember there was a mention of client permissions in the context of remote clients. What... - 10:50 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- I remember there was a mention of client permissions in the context of remote clients. What about local clients, isn'...
- 10:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- The two cases are exclusively server-side and only occur at the very initialization of the logger. The SM case is dr...
- 10:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Neither of these is dynamic. One is hard coded in the source and the other is read from the dire... - 10:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > > Where is it used today?
> On trunk @AdminServerImpl -> LOG.setLevel(Level.FINER);@ and and @SecurityManager -> L... - 10:02 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- The question is do we keep it part of the interface of the logger.
- 10:01 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Tomorrow it might be used somewhere else, if not disabled.
- 10:01 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Where is it used today?
On trunk @AdminServerImpl -> LOG.setLevel(Level.FINER);@ and and @Securi... - 09:59 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Where is it used today?
- 09:39 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- I would recommend disabling @setLevel@ for now, if we're not clear how this should work out. It's messy even with one...
- 09:38 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Unexpected behavior - isn't it a definition of a bug. If it's not defined, it will be unexpected -> bug.
- 09:36 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Is there a reason to change it right now?
Yes, the logger is now distributed. I need to know wha... - 09:35 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Is there a reason to change it right now?
- 09:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> > > What do you mean by dynamic logging levels?
> > @LOG.setLevel()@ called programmatically.
>... - 09:33 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > And what do we do with the dynamic levels that can be set server-side and client-side in the code at any time?
W... - 09:33 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > > What do you mean by dynamic logging levels?
> @LOG.setLevel()@ called programmatically.
Leave this alone unle... - 09:32 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- And what do we do with the dynamic levels that can be set server-side and client-side in the code at any time?
- 09:31 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > > I don't know that we care about per-context logging levels EXCEPT for the @LOG-MANAGER@ stuff. In the FWD logging...
- 09:13 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> I don't know that we care about per-context logging levels EXCEPT for the @LOG-MANAGER@ stuff. In... - 09:11 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> What do you mean by dynamic logging levels?
@LOG.setLevel()@ called programmatically.
- 09:10 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> Greg Shah wrote:
> > > disable dynamic levels on the client
> >
> > No, I don't think w... - 09:10 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- At this time we assume that the same logging levels will apply to all contexts. Even in the future where we have imp...
- 09:07 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> > disable dynamic levels on the client
>
> No, I don't think we need to do that.
So allow d... - 09:05 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> > So any static initializers setting levels will work once for the lifespan of the server JVM and... - 08:58 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > It's not the same, because you can set multiple logging levels in the client configs and then change them programma...
- 08:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- OK, so implement context-local CentralLogger, configured by directory.xml, but with initial overrides from client.xml...
- 08:36 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> > The client.xml logging level configs will override the server ones? But the server ones are dyn... - 08:20 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > > The idea is that there are 2 modes for logging: server-side and client-side.
>
> How do I know if the client i... - 08:07 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Actually if it was a new software (more web oriented) that was developed, I would suggest if customers want to use re...
- 08:00 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> Greg Shah wrote:
> > The idea is that there are 2 modes for logging: server-side and clien... - 07:52 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> The idea is that there are 2 modes for logging: server-side and client-side.
How do I know if ... - 07:37 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > Do I remove all client to server log writes?
No. The idea is that there are 2 modes for logging: server-side an... - 03:07 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> Since we just removed the client-side configurations for logging I guess I have to introduc... - 02:56 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg, I'll wait for your confirmation.
Constantin Asofiei wrote:
> Galya Bogdanova wrote:
> > I feel I still don... - 02:55 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Galya Bogdanova wrote:
> > The current design is that client and server logging levels are indep... - 02:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> I feel I still don't understand something:
>
> 1. What do I use state sync for, when the... - 01:51 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> * server-side logging is configured
> ** this would be configured similar to the rest of #4065
... - 01:48 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- I feel I still don't understand something:
1. What do I use state sync for, when the client and server loggers are... - 08:15 AM Bug #7291: LOG-MANAGER to log on client-side
- Just document the file locking restriction for now.
- 07:57 AM Bug #7291: LOG-MANAGER to log on client-side
- Greg Shah wrote:
> Client side logging is much less likely to have more than one process writing to the same file. ... - 07:43 AM Bug #7291: LOG-MANAGER to log on client-side
- Create the minimum API which will be a new remote service exported from the client side. This will provide the remot...
- 02:39 AM Bug #7291: LOG-MANAGER to log on client-side
- *Initial state and facts on @LOG-MANAGER@ (@LegacyLogManagerImpl@):*
* lives server-side;
* receives some logs fr... - 01:57 AM Bug #7291 (Closed): LOG-MANAGER to log on client-side
04/20/2023
- 11:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> > by default, FWD client logs to its own log files
>
> Do we ever need the client logs mixed i... - 11:32 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Please address these items before the code can be merged to trunk:
* Split client logging into its own log file in... - 11:29 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- In regard to all the communications noted in #5703-280, I never intended to have the client logging go into the serve...
- 11:21 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg, just to summarize, there are a few types of logging done in FWD:
# LOG-MANAGER logging
** this is the legacy ... - 10:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- *On 7th Feb*
1. #5703#note-23
Greg Shah said:
> 1. I don't think we want a separate client and server logging ... - 09:49 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> If I remember correctly the whole point of the task was to reduce the number of log files b... - 09:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- If I remember correctly the whole point of the task was to reduce the number of log files by merging them. I initiall...
- 09:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > you wanted to have all client logs mixed in.
I don't recall wanting that. - 09:40 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Is it separate from the "server log"? If so, I think it is OK. This is the replacement for the ... - 09:35 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Is it separate from the "server log"? If so, I think it is OK. This is the replacement for the old @stderr@ output ...
- 09:23 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- This is what I mean. Actually the file name is misleading - it's client-side generated log, server-side saved to a file.
- 09:20 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- If you are talking about the output redirect, that would remain on the client side.
- 09:09 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Since this is related to @LOG-MANAGER@
What about FWD logging for these remote clients?
- 08:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Since this is related to @LOG-MANAGER@ and we just implemented support for @LOG-MANAGER@ to target a separate file, w...
- 08:43 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- The issue is related to @LOG-MANAGER@ where the 4GL code (or via command line) the customer can specify a client-side...
- 02:38 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- #5703#note-27
Greg Shah wrote:
> The equivalent system in OE is a single process. For this reason, we cannot caus... - 02:25 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- #5703#note-40
Greg Shah wrote:
> Whether it is recursion or deadlock, the state synch approach should work.
Fr... - 02:22 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- @Status report 01/13/2023@
Galya Bogdanova wrote:
> I'll need a few days to analyze what types of 4GL errors and ... - 01:54 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- (related to @LOG-MANAGER@) On 17th January I've sent you an email named @Status report 01/17/2023@ with an attachment...
- 01:38 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Galya Bogdanova wrote:
> > Greg, you make me worried extremely. Let me repeat what I've said (ho...
04/19/2023
- 02:04 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> Greg, you make me worried extremely. Let me repeat what I've said (hoping it's received on ... - 12:55 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya, @System.loadLibrary("p2j");@ in @ServerDriver.main@ will force any installation to require the p2j library add...
- 12:23 PM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- It's done and done in r14601. Please confirm it's done.
65 revisions later and 508 files updated, let's do it! - 11:48 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- -Constantin, what do I do with that last blocker:- Fixed it....
- 11:42 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Actually even before that, since it needs to be done only on the ServerDriver.
- 11:41 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> If you have to implement the pid and it the library is not loaded, then do a late load of the nat... - 11:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg, you make me worried extremely. Let me repeat what I've said (hoping it's received on the other end many time al...
- 11:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> Greg, what do we do with the pid?
If you have to implement the pid and it the library is... - 11:03 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > Also please understand that there is no @CentralLogerClient@ and @CentralLoggerServer@, but only @CentralLogger@. T...
- 10:13 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg, what do we do with the pid?
- 10:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Ok, r14598 removed workingDir from LOG-MANAGER as well. Now all is going to be dumped by default in the server launch...
- 10:09 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> What should be the default folder for @LegacyLogManager@?
If the logging directory is not ... - 10:07 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> The questions is how to know if in @CommonDriver#process@ on line 533 the library can be ac... - 09:59 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> Greg Shah wrote:
> > We might want to have an explicit step in the @StandardServer.boot... - 09:53 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> We might want to have an explicit step in the @StandardServer.bootstrap()@ process.
>
> Hynek/... - 09:22 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- ...and appserver logs go to work dir, which is probably quite a server.
- 09:18 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Also please understand that there is no @CentralLogerClient@ and @CentralLoggerServer@, but only @CentralLogger@. The...
- 09:16 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> Galya Bogdanova wrote:
> > In OE logs go to work dir. In directory.xml you can configur... - 09:00 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> Greg Shah wrote:
> > > Where is @System.loadLibrary("p2j")@ called server-side, so that th... - 08:43 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> > Where is @System.loadLibrary("p2j")@ called server-side, so that the native lib can be used to ... - 08:27 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > Where is @System.loadLibrary("p2j")@ called server-side, so that the native lib can be used to access process id (r...
- 08:26 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > If you think it's worth it to handle file writes and rotation manually for the sake of improved formatting of rotat...
- 08:16 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- *Changes in r14597:*
* Client @CentralLogger@ initialized after @LogicalTerminal#init()@ completion on the server an... - 05:57 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Any of above-mentioned specifiers will be available for customers to define in the name of the log file.
- 05:42 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg, if a formatted rotation number is needed for CentralLogger files, then a custom FileHandler (the core of the cu...
- 03:08 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Is it alright in general for @ThinClient.getChanges()@ to be executed before @LogicalTerminal.init()@? I mean do we n...
04/18/2023
- 11:31 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Nice! I stand corrected.
- 11:30 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> I suspect your winner is not my winner. ;)
You underestimate my estimation. :) - 11:28 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- I suspect your winner is not my winner. ;)
Options 1 and 2 are performance killers so we cannot use them.
Optio... - 11:24 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- P.S. We'll also have to disable @setLevel()@ on clients.
- 11:21 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg,
I think we need to consider a few aspects with this global server-side logging level. With last minute chang... - 11:07 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin, I reverted the loggers in the Json* classes to static, because I cannot reproduce the problem now, but I'...
- 11:04 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> Let's confirm: After @LogicalTerminal.init()@ is called *on the client*, then it's safe to ... - 10:54 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> > Have you considered moving to another programming language - an event-driven, functional one - ... - 10:53 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > Do you want separate levels for clients at all or one global level for all processes is enough?
A global level ... - 10:42 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> This is similar to my listener idea. Design it with a static flag and then change the flag in th... - 10:37 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Or if I got it wrong and @LogicalTerminal.init()@ should be called on the server, then how do I push the init state t...
- 10:35 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Let's confirm: After @LogicalTerminal.init()@ is called *on the client*, then it's safe to send logs to be handled in...
- 10:30 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Another note, this code in @CentralLoggerClient@:...
- 10:26 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> Yes, I guess. There was no right synchronizer registered. The logs were not processed by @L... - 10:21 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- P.S. OE doesn't allow it (just by the way, again) - the freedom of deciding if you want and how you want a rotation n...
- 10:19 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> I'm looking for the position in the filename to be controllable, not the number itself.
How will... - 10:15 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> I don't understand you. Do you want separate levels for clients at all or one global level ... - 10:14 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> Galya Bogdanova wrote:
> > The current design is that client and server logging levels are indep... - 10:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Greg Shah wrote:
> What do you mean by "the separate spawner process"? I'm OK with implementing the flexible format... - 10:06 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> > 2. Constantin Asofiei wrote:
> > > @p2j.net.Protocol.applyChanges@ - this code:
> > ... - 09:37 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> The current design is that client and server logging levels are independent, so that the cl... - 09:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > We can implement more flexible formatter for log records in a future task, when the separate spawner process is rem...
- 09:27 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- > why not calculate the real logging level (in a different field), cache it on the first isLoggable call, and invalid...
- 07:41 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
1. Constantin Asofiei wrote:
> > p2j.main.StandardServer.boostrap - there is some commented ... - 06:24 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- *Changes in r14595:*
* JavaDoc added for @ClientCore.isNativeLayerInitialized@ and @NetResource.LOG@.
* Wrong log... - 05:12 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> So, why not calculate the real logging level (in a different field), cache it on the fir... - 04:09 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- @!IS_LOGGER_WORK_FINISHED.get()@ is a simple boolean check, while @isLoggable(level)@ is more complex method, no reas...
- 04:02 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya, I agree that string literals are kept on the constant pool, and do not pose a garbage-collection problem, but ...
- 04:01 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> You can add the client-specific code to @ClientDriver.start@ and leave here only this he... - 03:53 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Discussion from email:
On 4/18/23 10:37, Galya Bogdanova wrote:
> Constantin,
>
> I'm not asking about concaten... - 03:47 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> 2. Constantin Asofiei wrote:
> > @clientConfig/workingDir@ is for FWD clients. There is no...
04/17/2023
- 09:55 AM Feature #7147: Make FWD log outputs consistent
- Galya Bogdanova wrote:
> Hynek Cihlar wrote:
> > Galya, I will appreciate if you can answer my question. Do you get... - 08:54 AM Feature #7147: Make FWD log outputs consistent
- Hynek Cihlar wrote:
> Galya, I will appreciate if you can answer my question. Do you get conflicts, which you can no... - 08:31 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- 5703a rebased on trunk r14536.
This is not a final response to all code review questions raised. Wait for more.
... - 04:15 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- The current design is that client and server logging levels are independent, so that the client doesn't have to read ...
- 08:07 AM Feature #7279: Enhance CentralLogger to support configurable LogFormatter
- Implement more flexible formatter for log records, configurable in directory.xml.
Currently one and the same forma... - 08:04 AM Feature #7279 (Closed): Enhance CentralLogger to support configurable LogFormatter
04/13/2023
- 12:26 PM Feature #7147: Make FWD log outputs consistent
- Hynek Cihlar wrote:
> Galya Bogdanova wrote:
> > Greg, did you allow Hynek to merge the changes to LogHelper? Hynek... - 03:58 AM Feature #7147: Make FWD log outputs consistent
- Hynek Cihlar wrote:
> Galya Bogdanova wrote:
> > Greg, did you allow Hynek to merge the changes to LogHelper? Hynek... - 03:57 AM Feature #7147: Make FWD log outputs consistent
- Galya Bogdanova wrote:
> Greg, did you allow Hynek to merge the changes to LogHelper? Hynek, please revert all chang... - 03:34 AM Feature #7147: Make FWD log outputs consistent
- Greg, did you allow Hynek to merge the changes to LogHelper? Hynek, please revert all changes related to logging.
- 11:00 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> Galya Bogdanova wrote:
> > First of all it's dynamic, because all logging is allowed be... - 08:58 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Hynek Cihlar wrote:
> We could provide an invalidation mechanism:
>
> [...]
>
> Is it worth the hassle? I'm no... - 08:57 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> When is pre-initialization finished? At FWD server startup (when "Server ready" is writt... - 08:47 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya, another question for review: FWD trunk has a @logging/loggers@ setting in directory.xml where you can specify ...
- 08:45 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- We could provide an invalidation mechanism:...
- 08:37 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> Everything happening on the system before the configs are read and applied to CentralLogger... - 08:36 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> But the code I'm referring to is not part of initialization; when @RuntimeJastInterprete... - 08:34 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> This is Java logger functionality and as I've said we're doing dynamic isLogging, because o... - 08:32 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- This is Java logger functionality and as I've said we're doing dynamic isLogging, because of the delayed initialization.
- 08:31 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> First of all it's dynamic, because all logging is allowed before initialization for the sak... - 08:29 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> p2j.main.ClientSpawner.spawn - there is CentralLoggerServer.logSpawnerStream after cb.lo... - 08:24 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Constantin Asofiei wrote:
> *Hynek*, please review the @ext/@ changes.
The changes are good.
- 08:23 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- First of all it's dynamic, because all logging is allowed before initialization for the sake of not loosing logs. The...
- 08:22 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- The flag cannot be cached and should not be cached, because it's dynamic.
- 08:21 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Galya Bogdanova wrote:
> @if (LOG.isLoggable(...))@ *should never be called any more* from performance stand point.
... - 08:20 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Lets take this code from @RuntimeJastInterpreter.buildTypedExpression@:...
- 08:15 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- Let me repeat just to make sure I'm understood: @isLoggable@ is the first statement in the log methods.
- 08:13 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- I had to remove isLoggable actually, but it was too much work. For very heavy log messages use the method overload wi...
- 08:11 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- @if (LOG.isLoggable(...))@ *should never be called any more* from performance stand point. Only in cases of very comp...
- 07:55 AM Bug #5703: rationalize, standardize and simplify the client-side log file name configuration
- This is a review of the full changes in 5703a/14583. What is noted in #5703-182 still stands. Galya, please read th...
Also available in: Atom