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

File exporter format fixes #721

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

c24t
Copy link
Member

@c24t c24t commented Jul 17, 2019

Quick fix for #715: make file exporter append instead of overwrite, and put each trace on a separate line.

@c24t c24t requested review from reyang, songy23 and a team as code owners July 17, 2019 22:42
@c24t c24t force-pushed the file-exporter-format branch from e278dc1 to 0d329aa Compare July 17, 2019 22:46

"""

def __init__(self, file_name=DEFAULT_FILENAME,
transport=sync.SyncTransport,
file_mode='w+'):
file_mode='a'):
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, this actually aligns better with log handler class logging.FileHandler(filename, mode='a', encoding=None, delay=False).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants