10000 Add a rudimentary templating support for the 'scriptOutputFile' argument · Issue #132 · btraceio/btrace · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add a rudimentary templating support for the 'scriptOutputFile' argument #132

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

Closed
jbachorik opened this issue Jun 23, 2015 · 0 comments
Closed

Comments

@jbachorik
Copy link
Collaborator

Currently, the BTrace output file will reuse the same name on the subsequent runs, rewriting the previous data. This enhancement is about adding the support to specify a special token in the output file name (via scriptOutputFile agent argument) to insert eg. a timestamp.

The token would follow ANT-ish syntax - ${ts}

Usage example:
-javaagent:btrace-agent.jar=....,scriptOutputFile=my_output-${ts}.btrace,...

@jbachorik jbachorik self-assigned this Jun 23, 2015
@jbachorik jbachorik added this to the 1.3.1 milestone Jun 23, 2015
jbachorik added a commit that referenced this issue Jun 23, 2015
Fixes #132 - Add a rudimentary templating support for the scrip
6609
tOutpu…
jbachorik added a commit that referenced this issue Jun 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0