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

QA-392 - Option for all monkey logs to elk #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

osher-stratoscale
Copy link

No description provided.

@@ -40,6 +40,13 @@ def configureLogging(name, forceDirectory=None, registerConfigurationReloadSigna
hostname = subprocess.check_output('/bin/hostname').strip()
if registerConfigurationReloadSignal:
_configureLoggingSignalHandlers()
if os.environ.get("MONKEY_ELASTIFY"):

Choose a reason for hiding this comment

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

where do you check it is Monkey who called the configureLogging?
i think not only monkey uses pycommonlog



class MachineReadableFormatter:
_IGNORED_ATTRIBUTES = set(['relativeCreated', 'msecs', 'message', 'exc_info', 'startColor', 'endColor'])
session_id = uuid.uuid4()

Choose a reason for hiding this comment

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

every monkey test already has a UUID - can we reuse it?

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.

3 participants