Skip to content

Commit 2f81432

Browse files
bump log filter
1 parent 18e9c8d commit 2f81432

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

packages/core-bridge/src/runtime.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::{sync::Arc, time::Duration};
33
use anyhow::Context as _;
44
use futures::channel::mpsc::Receiver;
55
use neon::prelude::*;
6-
use tracing::{Instrument, trace, warn};
6+
use tracing::{Instrument, debug, warn};
77

88
use temporal_sdk_core::{
99
CoreRuntime, RuntimeOptionsBuilder, TokioRuntimeBuilder,
@@ -136,7 +136,7 @@ pub fn runtime_new(
136136
/// runtimes at a high pace, e.g. during tests execution.
137137
#[js_function]
138138
pub fn runtime_shutdown(runtime: OpaqueInboundHandle<Runtime>) -> BridgeResult<()> {
139-
trace!("dropping runtime");
139+
debug!("dropping runtime");
140140
std::mem::drop(runtime.take()?);
141141
Ok(())
142142
}

packages/test/src/test-bridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ const GenericConfigs = {
234234
basic: {
235235
logExporter: {
236236
type: 'console',
237-
filter: 'TRACE',
237+
filter: 'DEBUG',
238238
},
239239
telemetry: {
240240
metricPrefix: 'test',

packages/test/src/test-runtime.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ if (RUN_INTEGRATION_TESTS) {
5555
// Runtime configuration was installed, creating a new Worker after Runtime shutdown we would fallback
5656
// to the default configuration (127.0.0.1) which is surprising behavior.
5757
test.serial('Runtime.install() remembers installed options after it has been shut down', async (t) => {
58-
const logger = new DefaultLogger('TRACE');
59-
Runtime.install({ logger, telemetryOptions: { logging: { filter: { core: 'TRACE' } } } });
58+
const logger = new DefaultLogger('DEBUG');
59+
Runtime.install({ logger, telemetryOptions: { logging: { filter: { core: 'DEBUG' } } } });
6060
{
6161
const runtime = Runtime.instance();
6262
t.is(runtime.options.logger, logger);

packages/test/src/test-worker-lifecycle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ if (RUN_INTEGRATION_TESTS) {
3535
});
3636

3737
test.serial("Worker.runUntil doesn't hang if provided promise survives to Worker's shutdown", async (t) => {
38-
const logger = new DefaultLogger('TRACE');
38+
const logger = new DefaultLogger('DEBUG');
3939
t.is(Runtime._instance, undefined);
4040
Runtime.install({
41-
telemetryOptions: { tracingFilter: makeTelemetryFilterString({ core: 'TRACE' }) },
41+
telemetryOptions: { tracingFilter: makeTelemetryFilterString({ core: 'DEBUG' }) },
4242
logger,
4343
});
4444
const worker = await Worker.create({

0 commit comments

Comments
 (0)