# Move some file detection logs to info loglevel to make troubleshooting easier

**URL:** <https://discuss.elastic.co/t/move-some-file-detection-logs-to-info-loglevel-to-make-troubleshooting-easier/357923>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 22, 2024, 4:33pm UTC](https://discuss.elastic.co/t/move-some-file-detection-logs-to-info-loglevel-to-make-troubleshooting-easier/357923 "2024-04-22T16:33:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jori-be](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jori-be/32/96028_2.png) [@jori-be](https://discuss.elastic.co/u/jori-be)\
**Post date:** [April 22, 2024, 4:33pm UTC](https://discuss.elastic.co/t/move-some-file-detection-logs-to-info-loglevel-to-make-troubleshooting-easier/357923/1 "2024-04-22T16:33:59Z")

</div>

Is it possible to switch the follow logs in filebeat from debug to info loglevel?  
It would make troubleshooting a bit easier because debug loglevel is very verbose if you are harvesting multiple logs files.

File [file] has been renamed to..

```auto
{"log.level":"debug","@timestamp":"2024-04-22T18:05:08.204+0200","log.logger":"input.filestream","log.origin":{"function":"github.com/elastic/beats/v7/filebeat/input/filestream.(*fileProspector).onFSEvent","file.name":"filestream/prospector.go","file.line":215},"message":"File /data/log/app/appparsed/TEST-LOG-01/app-TEST-LOG-01.log has been renamed to /data/log/app/appparsed/TEST-LOG-01/app-TEST-LOG-01.log_rotated","service.name":"filebeat","id":"app_log","prospector":"file_prospector","operation":"rename","source_name":"native::748582-64768","os_id":"748582-64768","new_path":"/data/log/app/appparsed/TEST-LOG-01/app-TEST-LOG-01.log_rotated","old_path":"/data/log/app/appparsed/TEST-LOG-01/app-TEST-LOG-01.log","ecs.version":"1.6.0"}

```

A new file...

```auto
{"log.level":"debug","@timestamp":"2024-04-22T18:05:08.213+0200","log.logger":"input.filestream","log.origin":{"function":"github.com/elastic/beats/v7/filebeat/input/filestream.(*fileProspector).onFSEvent","file.name":"filestream/prospector.go","file.line":179},"message":"A new file /data/log/app/appparsed/TEST-LOG-03/app-TEST-LOG-03.log has been found","service.name":"filebeat","id":"app_log","prospector":"file_prospector","operation":"create","source_name":"native::33971680-64768","os_id":"33971680-64768","new_path":"/data/log/app/appparsed/TEST-LOG-03/app-TEST-LOG-03.log","ecs.version":"1.6.0"}

```

Thanks in advance!
