JoaoJandre commented on PR #7131:
URL: https://github.com/apache/cloudstack/pull/7131#issuecomment-1538291223

   As requested in the devs mailing list, the following script is the one that 
I'm using to regenerate changes after merging them with the main branch: 
https://pastebin.com/zzbyhRNG
   
   It is a really simple script that I created to fix the most common cases: it 
will remove all imports for log4j1, then rename all loggers named `s_logger` to 
`logger`; after that, if it finds that a static logger has been renamed to 
`logger` it will rename it to `LOGGER`.
   
   As a convention for loggers' names does not exist, this script leaves some 
cases that have to be corrected manually, such as loggers that are named `LOG`, 
for instance, which cannot be searched easily as it is also a substring of 
`LOGGER` (if we would search and replace that string, we would ending up with a 
lot of loggers named `LOGGERGER`). The main case should be fixed using the 
script, though.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to