Skip to content

Bug --noconsolelogging - #4

Merged
michaelnoonan merged 5 commits into
masterfrom
bug-noconsolelogging
Jun 14, 2017
Merged

Bug --noconsolelogging#4
michaelnoonan merged 5 commits into
masterfrom
bug-noconsolelogging

Conversation

@michaelnoonan

@michaelnoonan michaelnoonan commented Jun 13, 2017

Copy link
Copy Markdown
Contributor

Fixes #7

@michaelnoonan michaelnoonan self-assigned this Jun 13, 2017
@michaelnoonan
michaelnoonan requested a review from tothegills June 13, 2017 06:28
</targets>

<rules>
<logger name="SkipConsole" minlevel="Info" writeTo="octopus-log-file" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What happened to these ones?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That was an old way this feature was implemented back in the day, but I don't think it worked very well.

<logger name="SkipConsole" minlevel="Info" writeTo="octopus-log-file" />
<logger name="SkipConsole" minlevel="Fatal" writeTo="eventlog" final="true" />

<logger name="*" minlevel="Info" maxLevel="Warn" writeTo="stdout" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bit concerned this might be a breaking change... Say someone is just redirecting stdout to a file - all of a sudden it doesn't log errors anymore.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yep, will update our 3.14 release notes and make it clear in the issue release note.

@matt-richardson matt-richardson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@tothegills tothegills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, nothing is jumping out at me screaming "this will break the world"

@michaelnoonan
michaelnoonan merged commit 211da33 into master Jun 14, 2017
@michaelnoonan
michaelnoonan deleted the bug-noconsolelogging branch June 14, 2017 03:20
jimmyp added a commit that referenced this pull request Jun 5, 2026
…hAbandon) + review fixes

#1 Move abandon-support back onto the version (option A). The selector picks ScriptServiceVersion2WithAbandon
   when the Tentacle advertised AbandonScript, else ScriptServiceVersion2; the factory routes both to the V2
   executor; the executor stamps the selected version onto the CommandContext, so the orchestrator gates on
   ScripServiceVersionUsed.SupportsAbandon. Reverts the CommandContext flag / capture-once / selector tuple.
   Capability string is nameof(IScriptServiceV2.AbandonScript) on both sides (server advertise + client check,
   unit fixture, integration test). Deleted the mocked selector unit test (redundant with the version approach).
#2 CapabilitiesServiceV2Test: restore the count assertions (abandon-aware).
#3 ClientScriptExecutionAbandon: capture each spawned PID and force-kill in TearDown so nothing leaks on CI.
#4 SilentProcessRunnerFixture: add AbandonToken_WhenProcessCanNotBeKilled (asserts the process is still
   running, then cleans it up).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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