Skip to content

Commit

Permalink
fix: update detector log level
Browse files Browse the repository at this point in the history
Signed-off-by: John Li <john.li@fmr.com>
  • Loading branch information
johnli-developer committed Aug 13, 2024
1 parent 770130a commit 1289068
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class AwsEksDetectorSync implements DetectorSync {
[SEMRESATTRS_CONTAINER_ID]: containerId || '',
};
} catch (e) {
diag.warn('Process is not running on K8S', e);
diag.debug('Process is not running on K8S', e);
return {};
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class ContainerDetector implements DetectorSync {
} catch (e) {
if (e instanceof Error) {
const errorMessage = e.message;
diag.info(
diag.debug(
'Container Detector failed to read the Container ID: ',
errorMessage
);
Expand Down

0 comments on commit 1289068

Please sign in to comment.