-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New logger with color and specific types. Code cleanup #3108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…it is FTB then we switch
|
This is a lot of changes for one PR. I know this is hard after the fact, but is there any way you could break this up into a few smaller ones? |
|
will do ! |
|
is there some things i listed that you do not want ? |
|
Glancing at the changes I like all of it 😃 Actually, keep the PR as is and I'll review more closely when I get a span of time. With that I can raise any specific concerns I find, if any. |
|
Nice perfect ! |
|
With new formatted logging, the output from It'll be redundant, but perhaps apply the same shopt-eval suppression of debug |
itzg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have already spent an hour or more on this, so I'm submitting comments so far. Please follow the intent of my suggestions for remainder. Don't go overboard with refactorings. I'm also hoping you didn't use an AI code assistant for this -- some of the variable names are suspicious.
Again, this PR was too large. Don't submit ones this large next time.
itzg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for working with me on all the feedback I provided.
itzg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was doing some final testing and noticed now that the logged string just disappears for errors (and probably warnings):
docker run --rm -it itzg/minecraft-server
[init] Running as uid=1000 gid=1000 with /data as 'drwxr-x--- 2 1000 1000 4096 Oct 22 01:17 /data'
[init]
[init]
[init]
[init]
[init]
[init]
your are welcome and i apologize for all the time you loose on my PR's ^^ |
|
like that ? |
|
|
||
| if ! isNumeric ${!var_name} ; then | ||
| eval "$var_name=$default_value" | ||
| export "$var_name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes because i am doing the thing it thinks i do not want to do


In this PR there is :