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 messages should go to STDERR not STDOUT #14

Open
VladimirAlexiev opened this issue Sep 9, 2024 · 0 comments
Open

log messages should go to STDERR not STDOUT #14

VladimirAlexiev opened this issue Sep 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@VladimirAlexiev
Copy link

Both of these

java -jar c:/prog/bin/owl-cli-snapshot.jar write IEC61970-600-2_CGMES_3_0_0_RDFS_501Ed2CD_EQ.ttl >  a.ttl
java -jar c:/prog/bin/owl-cli-snapshot.jar write IEC61970-600-2_CGMES_3_0_0_RDFS_501Ed2CD_EQ.ttl - >  a.ttl

cause the first output line to be

19:17:53.901 [main] DEBUG org.apache.jena.riot.system.stream.JenaIOEnvironment -- Failed to find configuration: location-mapping.ttl;location-mapping.rdf;etc/location-mapping.rdf;etc/location-mapping.ttl

making it invalid turtle.
(Even if you fix that particular problem, other log messages may mangle the output).

Invoking it like this (with explicit output file rather than STDOUT) doesn't cause the problem:

java -jar c:/prog/bin/owl-cli-snapshot.jar write IEC61970-600-2_CGMES_3_0_0_RDFS_501Ed2CD_EQ.ttl a.ttl
@atextor atextor added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants