Skip to content
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

Log KoreServer output #4501

Merged
merged 3 commits into from
Jul 10, 2024
Merged

Log KoreServer output #4501

merged 3 commits into from
Jul 10, 2024

Conversation

tothtamas28
Copy link
Contributor

Stream output from kore-rpc and kore-rpc-booster into a Logger, instead of the standard output / error stream of the parent.

@tothtamas28 tothtamas28 self-assigned this Jul 4, 2024
@tothtamas28
Copy link
Contributor Author

Example output:

INFO:pyk.kore.rpc:Starting KoreServer: kore-rpc-booster imp-kompiled/definition.kore --module IMP --server-port 0 --llvm-backend-library imp-llvm-kompiled/interpreter.so
INFO:pyk.kore.rpc:[PID=192489][stde] [proxy] Loading definition from imp-kompiled/definition.kore, main module "IMP"
INFO:pyk.kore.rpc:KoreServer started: 0.0.0.0:45707, pid=192489
INFO:pyk.kore.rpc:[PID=192489][stde] [kore][info] Reading the input file TimeSpec {sec = 0, nsec = 1685789}
INFO:pyk.kore.rpc:[PID=192489][stde] [kore][info] Parsing the file TimeSpec {sec = 0, nsec = 130}
INFO:pyk.kore.rpc:[PID=192489][stde] [kore][info] Verifying the definition TimeSpec {sec = 0, nsec = 150}
INFO:pyk.kore.rpc:[PID=192489][stde] [kore][info] Executing TimeSpec {sec = 0, nsec = 129753021}
INFO:pyk.kore.rpc:[PID=192489][stde] [kore][info] Reading the input file TimeSpec {sec = 0, nsec = 2713788}
INFO:pyk.kore.rpc:[PID=192489][stde] [kore][info] Parsing the file TimeSpec {sec = 0, nsec = 140}
INFO:pyk.kore.rpc:[PID=192489][stde] [kore][info] Verifying the definition TimeSpec {sec = 0, nsec = 130}
INFO:pyk.kore.rpc:[PID=192489][stde] [proxy] Starting RPC server

@tothtamas28 tothtamas28 marked this pull request as ready for review July 4, 2024 14:36
Copy link
Contributor

@geo2a geo2a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tothtamas28 tothtamas28 merged commit 8093153 into develop Jul 10, 2024
18 checks passed
@tothtamas28 tothtamas28 deleted the log-kore-server branch July 10, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants