-
Notifications
You must be signed in to change notification settings - Fork 46
Review InterProcessLogging.md for linguistic and formatting bugs #1786
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
Review InterProcessLogging.md for linguistic and formatting bugs #1786
Conversation
docs/InterProcessLogging.md
Outdated
When UtBot is used as IDEA plugin - [`utbot-intellij/log4j2.xml`](../utbot-intellij/src/main/resources/log4j2.xml) | ||
is used as configuration file. | ||
In other cases(`ContestEstimator`, `Gradle/Maven` tasks, `CLI`, tests) it searches for the first `log4j2.xml` in resources in classpath. | ||
The UnitTestBot Java logging system relies on `log4j2` utility. |
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.
Log4j2
is not utility - it is separate library.
docs/InterProcessLogging.md
Outdated
|
||
To store log data, the UnitTestBot Java plugin creates a directory: | ||
`org.utbot.intellij.plugin.process.EngineProcessKt.engineProcessLogDirectory`. | ||
The IDE process writes logging information to `idea.log` files and puts them into this directory. |
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.
Idea.log
file is not in that directory. It is deafult IDEA log file.
docs/InterProcessLogging.md
Outdated
|
||
#### Engine process started separately | ||
|
||
This is the case for `ContestEstimator`, `Gradle/Maven` tasks, `CLI`, tests, etc. | ||
Configuration is taken from `log4j2.xml` in resources from the first `log4j2.xml` in resources in classpath. | ||
When used as Contest estimator or the Gradle/Maven plugins, via CLI or for testing purposes, |
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.
for testing purposes
I think this will cause misunderstating. Not for testing purposes, in our tests. Tests run are running in our CI
* InterProcessLogging.md reviewed for linguistic and formatting bugs * Fixed info about directories and minor wordings
Description
Linguistic bugs fixed, document structure optimized.
How to test
The PR introduces no code changes.
Manual scenario: the text itself has been previewed in the IntelliJ IDEA viewer.
Self-check list
Check off the item if the statement is true. Hint: [x] is a marked item.
Please do not delete the list or its items.