mirror of https://github.com/vector-im/riot-web
Mark more logs as debug to tidy the console (#11349)
parent
24703eea8f
commit
6a14362697
|
@ -103,7 +103,7 @@ class Presence {
|
|||
|
||||
try {
|
||||
await MatrixClientPeg.safeGet().setPresence({ presence: this.state });
|
||||
logger.info("Presence:", newState);
|
||||
logger.debug("Presence:", newState);
|
||||
} catch (err) {
|
||||
logger.error("Failed to set presence:", err);
|
||||
this.state = oldState;
|
||||
|
|
|
@ -1515,7 +1515,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
if (state === SyncState.Syncing && prevState === SyncState.Syncing) {
|
||||
return;
|
||||
}
|
||||
logger.info(`MatrixClient sync state => ${state}`);
|
||||
logger.debug(`MatrixClient sync state => ${state}`);
|
||||
if (state !== SyncState.Prepared) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1805,7 +1805,7 @@ class TimelinePanel extends React.Component<IProps, IState> {
|
|||
this.context.timelineRenderingType,
|
||||
);
|
||||
if (events.length === 0 || !room || !cli.isRoomEncrypted(room.roomId) || isThreadTimeline) {
|
||||
logger.info("checkForPreJoinUISI: showing all messages, skipping check");
|
||||
logger.debug("checkForPreJoinUISI: showing all messages, skipping check");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1851,12 +1851,12 @@ class TimelinePanel extends React.Component<IProps, IState> {
|
|||
// reached an undecryptable message when the user wasn't in the room -- don't try to load any more
|
||||
// Note: for now, we assume that events that are being decrypted are
|
||||
// not decryptable - we will be called once more when it is decrypted.
|
||||
logger.info("checkForPreJoinUISI: reached a pre-join UISI at index ", i);
|
||||
logger.debug("checkForPreJoinUISI: reached a pre-join UISI at index ", i);
|
||||
return i + 1;
|
||||
}
|
||||
}
|
||||
|
||||
logger.info("checkForPreJoinUISI: did not find pre-join UISI");
|
||||
logger.debug("checkForPreJoinUISI: did not find pre-join UISI");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue