mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 22:59:01 +02:00
Merge pull request #7906 from overleaf/em-downgrade-logs
Downgrade all INFO logs to DEBUG GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
This commit is contained in:
@@ -85,7 +85,7 @@ async function getProjectDescription(projectId) {
|
||||
async function setProjectDescription(projectId, description) {
|
||||
const conditions = { _id: projectId }
|
||||
const update = { description }
|
||||
logger.log(
|
||||
logger.debug(
|
||||
{ conditions, update, projectId, description },
|
||||
'setting project description'
|
||||
)
|
||||
@@ -99,7 +99,7 @@ async function setProjectDescription(projectId, description) {
|
||||
async function renameProject(projectId, newName) {
|
||||
newName = newName.trim()
|
||||
await validateProjectName(newName)
|
||||
logger.log({ projectId, newName }, 'renaming project')
|
||||
logger.debug({ projectId, newName }, 'renaming project')
|
||||
let project
|
||||
try {
|
||||
project = await ProjectGetter.promises.getProject(projectId, { name: true })
|
||||
|
||||
Reference in New Issue
Block a user