Merge lp:~cprov/snappy-proposed-selftest-agent/logging into lp:snappy-proposed-selftest-agent

Proposed by Celso Providelo
Status: Merged
Approved by: Celso Providelo
Approved revision: 10
Merged at revision: 10
Proposed branch: lp:~cprov/snappy-proposed-selftest-agent/logging
Merge into: lp:snappy-proposed-selftest-agent
Diff against target: 24 lines (+3/-1)
2 files modified
snappy_proposed_selftest_agent/__init__.py (+2/-0)
snappy_proposed_selftest_agent/constants.py (+1/-1)
To merge this branch: bzr merge lp:~cprov/snappy-proposed-selftest-agent/logging
Reviewer Review Type Date Requested Status
Celso Providelo (community) Approve
Review via email: mp+260420@code.launchpad.net

Commit message

Adjust logstash service name (stripping solution name) and adding a started message.

Description of the change

Adjust logstash service name (stripping solution name) and adding a started message.

To post a comment you must log in.
Revision history for this message
Celso Providelo (cprov) wrote :

Self-approving because I am evil!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'snappy_proposed_selftest_agent/__init__.py'
--- snappy_proposed_selftest_agent/__init__.py 2015-05-28 04:39:58 +0000
+++ snappy_proposed_selftest_agent/__init__.py 2015-05-28 05:36:38 +0000
@@ -112,6 +112,8 @@
112 log_path,112 log_path,
113 config['logstash'] if 'logstash' in config else None113 config['logstash'] if 'logstash' in config else None
114 )114 )
115 logger = logging.getLogger(__name__)
116 logger.info('Started!', extra=constants.LOGGING_EXTRA)
115117
116 ampq_uris = config.get('amqp', 'uris').split()118 ampq_uris = config.get('amqp', 'uris').split()
117 try:119 try:
118120
=== modified file 'snappy_proposed_selftest_agent/constants.py'
--- snappy_proposed_selftest_agent/constants.py 2015-05-28 04:42:33 +0000
+++ snappy_proposed_selftest_agent/constants.py 2015-05-28 05:36:38 +0000
@@ -37,7 +37,7 @@
3737
38SOLUTION_NAME = "snappy-proposed"38SOLUTION_NAME = "snappy-proposed"
3939
40SERVICE_NAME = "snappy-proposed-selftest-agent"40SERVICE_NAME = "selftest-agent"
4141
42HOSTNAME = socket.gethostname()42HOSTNAME = socket.gethostname()
4343

Subscribers

People subscribed via source and target branches