Make log more quiet

This commit is contained in:
LittleSheep 2024-07-16 14:15:21 +08:00
parent 1ce04f7067
commit c912271610
2 changed files with 3 additions and 6 deletions

View File

@ -4,9 +4,7 @@
<option name="autoReloadType" value="ALL" /> <option name="autoReloadType" value="ALL" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":bug: Fix model relation issue"> <list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":arrow_up: Upgrade dealer" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -152,7 +150,6 @@
</option> </option>
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value=":bug: Fix bugs in status" />
<MESSAGE value=":bug: Fix status query condition" /> <MESSAGE value=":bug: Fix status query condition" />
<MESSAGE value=":bug: Fix disturbable condition" /> <MESSAGE value=":bug: Fix disturbable condition" />
<MESSAGE value=":sparkles: Admin notify all API" /> <MESSAGE value=":sparkles: Admin notify all API" />
@ -177,7 +174,8 @@
<MESSAGE value=":arrow_up: Support new auth api" /> <MESSAGE value=":arrow_up: Support new auth api" />
<MESSAGE value=":recycle: Refactored relation system&#10;:arrow_up: Support new realm &amp; relation api" /> <MESSAGE value=":recycle: Refactored relation system&#10;:arrow_up: Support new realm &amp; relation api" />
<MESSAGE value=":bug: Fix model relation issue" /> <MESSAGE value=":bug: Fix model relation issue" />
<option name="LAST_COMMIT_MESSAGE" value=":bug: Fix model relation issue" /> <MESSAGE value=":arrow_up: Upgrade dealer" />
<option name="LAST_COMMIT_MESSAGE" value=":arrow_up: Upgrade dealer" />
</component> </component>
<component name="VgoProject"> <component name="VgoProject">
<settings-migrated>true</settings-migrated> <settings-migrated>true</settings-migrated>

View File

@ -58,7 +58,6 @@ func GetAuthContext(jti string) (models.AuthContext, error) {
authContextMutex.Lock() authContextMutex.Lock()
authContextCache[jti] = ctx authContextCache[jti] = ctx
authContextMutex.Unlock() authContextMutex.Unlock()
log.Debug().Str("jti", jti).Msg("Used an auth context cache")
} else { } else {
ctx, err = CacheAuthContext(jti) ctx, err = CacheAuthContext(jti)
log.Debug().Str("jti", jti).Msg("Created a new auth context cache") log.Debug().Str("jti", jti).Msg("Created a new auth context cache")