Is there a way to get std-nslog to log only the log message and not log the timestamp / app name / etc on each line? #1894
Replies: 1 comment 10 replies
-
i seem to have answered my own question but found some unexpected edge cases in the process that probably are not bugs. building my app with
re: 2) my app happens to use standard python /Applications/IllmaticApp/Contents/MacOS/IllmaticApp --print-env and everything it prints via parser = ArgumentParser(description=f"Help screen")
parser.add_argument('--print-env', action='store_true', help=f"print env vars")
args = parser.parse_args()
def main():
if args.print_env:
print_env()
UPDATE i moved the call to |
Beta Was this translation helpful? Give feedback.
-
when my briefcase app prints stuff the lines are always prepended with many characters worth of metadata, e.g. here's code in my app printing some env vars:
that yields this output in macos Terminal:
is there some way to configure the app or
std-nslog
or whatever so that it would only send this to STDOUT? for reference this would be the output i'd be going for from the same code:Beta Was this translation helpful? Give feedback.
All reactions