Skip to content

Commit 074e003

Browse files
committed
chore: fixed small issues
Signed-off-by: Uroš Marolt <uros@marolt.me>
1 parent 47d3eef commit 074e003

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

services/apps/data_sink_worker/src/bin/fix-member-attributes.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ setImmediate(async () => {
164164
const manuallyChangedFields: string[] = data.manuallyChangedFields || []
165165

166166
if (manuallyChangedFields.length > 0) {
167-
log.debug(
167+
log.warn(
168168
{
169169
memberId: data.id,
170170
manuallyChangedFieldsCount: manuallyChangedFields.length,
@@ -181,7 +181,7 @@ setImmediate(async () => {
181181
),
182182
]
183183

184-
log.debug(
184+
log.warn(
185185
{
186186
memberId: data.id,
187187
manuallyChangedAttributes,
@@ -199,7 +199,7 @@ setImmediate(async () => {
199199

200200
if (!isEqual(temp, oldAttributes)) {
201201
attributes = temp
202-
log.debug({ memberId: data.id }, 'Attributes changed, will update')
202+
log.info({ memberId: data.id }, 'Attributes changed, will update')
203203
} else {
204204
log.debug(
205205
{ memberId: data.id, newAttributes: temp, oldAttributes },
@@ -208,7 +208,7 @@ setImmediate(async () => {
208208
}
209209

210210
if (attributes) {
211-
log.debug(
211+
log.info(
212212
{ memberId: data.id, oldAttributes, attributes },
213213
'Updating member attributes',
214214
)

0 commit comments

Comments
 (0)