# Log input for graylog users login attempts

**URL:** <https://community.graylog.org/t/log-input-for-graylog-users-login-attempts/4011>\
**Category:** Graylog Central (peer support)\
**Created:** [February 1, 2018, 8:17am UTC](https://community.graylog.org/t/log-input-for-graylog-users-login-attempts/4011 "2018-02-01T08:17:40Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![hun](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/hun/32/2207_2.png) [@hun](https://community.graylog.org/u/hun)\
**Post date:** [February 1, 2018, 9:33am UTC](https://community.graylog.org/t/log-input-for-graylog-users-login-attempts/4011/6 "2018-02-01T09:33:39Z")

</div>

Hi Jan,

Should I append the code to the end of log4j2.xml file or just extract what is inside `<appenders> and <loggers>` and add it to these tags in the log4j2.xml?

Also, is the restaccess.log file automatically created? In case not, when creating it, what permissions should I assign to it? Who should the file owner be? Thanks in advance.

---

_[View the full topic](https://community.graylog.org/t/log-input-for-graylog-users-login-attempts/4011)._
