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

Update content of "Sparrow Crashes" messages. #309

Closed
wants to merge 39 commits into from

Conversation

jmhorjus
Copy link

No description provided.

jhorjus and others added 30 commits November 17, 2017 10:37
If you use Filebeat as a log aggregator, the messages are not divided by fields. Added a set of filters for Elasticsearch so that a log message is split up into separate fields.
@coveralls
Copy link

coveralls commented Jan 30, 2018

Coverage Status

Coverage decreased (-0.09%) to 81.977% when pulling 0f1ceab on jmhorjus:jmh_messages into 0809de2 on Crystalnix:dev.

@@ -32,5 +32,8 @@ deploy/settings.yml
deploy/google/app.yaml
!deploy/google/app.yaml.example

# Virtual environment
venv/
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add these changes to your local .gitignore file. They shouldn't be in .gitignore.

logger = logging.getLogger('crashes')

extra.update(tags)
extra['sparrow_version'] = tags['ver'] if 'ver' in tags else 'unknown'
Copy link
Contributor

Choose a reason for hiding this comment

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

Please rename sparrow_version to app_version.

extra['logger_name'] = 'omaha_server'

# Send message with logger.
logger.info(add_extra_to_log_message("Sparrow Crashes", extra=extra))
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use an environment variable to set app specific crash message(e.g. Sparrow crashes).

@anmekin
Copy link
Contributor

anmekin commented Feb 1, 2018

Could you please squash your changes in 1-2 commits?

@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.6.3
current_version = 0.6.3.1
Copy link
Contributor

Choose a reason for hiding this comment

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

Please don't change the version. We bump it when preparing a new release.

@anmekin
Copy link
Contributor

anmekin commented Feb 6, 2018

#312

@anmekin anmekin closed this Feb 6, 2018
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.

None yet

4 participants