Skip to content

Commit

Permalink
fix(logs): fix log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Jun 26, 2024
1 parent 4eac073 commit 1b1d931
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oada/list-lib",
"version": "6.0.1",
"version": "6.0.2",
"description": "Library for processing items in an OADA list",
"main": "dist/index.js",
"type": "module",
Expand Down
3 changes: 1 addition & 2 deletions src/ListWatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,7 @@ export class ListWatch<Item = unknown> {
this.#emitter.emit('error', error),
);

log.info(`ListWatch initialized on path: ${this.path}`);
log.trace({ this: this }, 'ListWatch ');
log.debug({ this: this }, 'ListWatch initialized');
return changes;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class Metadata {
* Create our metadata
*/
async #createMeta() {
log.info('%s does not exist, posting new resource', this.#path);
log.warn('%s does not exist, posting new resource', this.#path);

const {
headers: { 'content-location': location },
Expand Down

0 comments on commit 1b1d931

Please sign in to comment.