# All of my logs say "Log access is disabled on the host"

**URL:** <https://community.dynatrace.com/t/all-of-my-logs-say-log-access-is-disabled-on-the-host/6885>\
**Category:** Logs\
**Tags:** log-monitoring-class\
**Created:** [July 12, 2017, 10:27pm UTC](https://community.dynatrace.com/t/all-of-my-logs-say-log-access-is-disabled-on-the-host/6885 "2017-07-12T22:27:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam3](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sam3/32/32741_2.png) [@sam3](https://community.dynatrace.com/u/sam3)\
**Post date:** [July 12, 2017, 10:27pm UTC](https://community.dynatrace.com/t/all-of-my-logs-say-log-access-is-disabled-on-the-host/6885/1 "2017-07-12T22:27:26Z")

</div>

I am installing using Puppet. What install flag do I need to cause Log Analytics to be on by default?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [July 13, 2017, 7:01am UTC](https://community.dynatrace.com/t/all-of-my-logs-say-log-access-is-disabled-on-the-host/6885/2 "2017-07-13T07:01:42Z")

</div>

Oneagent installation script should be executed with APP\_LOG\_CONTENT\_ACCESS=1 . You can also enable it in agent config file, see [https://help.dynatrace.com/infrastructure-monitoring/log-analytics/how-do-i-enable-log-analytics/](https://help.dynatrace.com/infrastructure-monitoring/log-analytics/how-do-i-enable-log-analytics/)
