# how can change folder of wowza log files?

**URL:** <https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776>\
**Category:** Wowza Streaming Engine\
**Created:** [June 28, 2012, 2:19pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776 "2012-06-28T14:19:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [June 28, 2012, 2:19pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/1 "2012-06-28T14:19:45Z")

</div>

I, i need to change the folder of wowza log’s files. i have this files in /usr/local/WowzaMediaServer-3.0.5/logs. i need change that for /home/wowza\_logs any help?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 7:25pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/2 "2012-06-28T19:25:38Z")

</div>

You can set the file location for each log file in their Appender in the /conf/log4j.properties file. For example the Access appender has this line:

log4j.appender.serverAccess.File=${com.wowza.wms.ConfigHome}/logs/wowzamediaserver\_access.log

Change the path in that line, then restart Wowza.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 7:36pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/3 "2012-06-28T19:36:51Z")

</div>

Just enter the exact path, do not use the Wowza environment variables. Any local path should work. You do need the write permissions for user Wowza is run as to allow Wowza to write to that location.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 28, 2012, 8:42pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/4 "2012-06-28T20:42:27Z")

</div>

Yes, looks right

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [July 20, 2012, 12:14am UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/5 "2012-07-20T00:14:42Z")

</div>

Is it a permission problem? Do you see any log output in Wowza console if you start Wowza in stand-alone (/bin/startup.bat) mode?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [July 20, 2012, 12:28am UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/6 "2012-07-20T00:28:12Z")

</div>

```auto
cd /home/wowza_logs
ls -l

```

Compare to default location

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [September 27, 2012, 1:02am UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/7 "2012-09-27T01:02:05Z")

</div>

In the logs? What does it say? Have you made changes to /conf/Server.xml?

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 3, 2012, 8:56pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/8 "2012-10-03T20:56:56Z")

</div>

> Hi, i have a JMX config error. what is this?

I need more info. Where is this JMX error? What is going on when the above error occurs in the log? What is the result of this error?

What are you doing exactly, and what does not work?

Richard

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [July 19, 2012, 8:28pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/9 "2012-07-19T20:28:13Z")

</div>

Juan,

Please run Wowza from /[Wowza-folder]/bin/startup.sh. This is what was meant by “Wowza console”. When you run Wowza like this, you might see an error message regarding your log file location.

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [June 28, 2012, 2:27pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/10 "2012-06-28T14:27:38Z")

</div>

i need change the location for all log files in to this folder. i can do it?

thanks for your quickly answer Richard.

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [June 28, 2012, 2:30pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/11 "2012-06-28T14:30:32Z")

</div>

Richard, the new folder is in a different location to the path of wowza install. That is becouse i need put this logs files in another partiion of disk. becouse this files is very big.

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [June 28, 2012, 2:56pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/12 "2012-06-28T14:56:16Z")

</div>

Thanks. so, this line: log4j.appender.serverAccess.File=${com.wowza.wms.ConfigHome}/logs/wowzamediaserver\_access.log

is: log4j.appender.serverAccess.File=/home/wowza\_logs/wowzamediaserver\_access.log

that’s right?

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [July 19, 2012, 7:08pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/13 "2012-07-19T19:08:23Z")

</div>

Richard, i changed this line and log file keep doing the same. not write in the new location.

this is the line: log4j.appender.serverAccess.File=/home/wowza\_logs/wowzamediaserver\_access.log

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [July 19, 2012, 7:25pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/14 "2012-07-19T19:25:55Z")

</div>

is alinux server, where can see that?

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [July 19, 2012, 7:37pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/15 "2012-07-19T19:37:30Z")

</div>

have files, but from another date.

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [September 26, 2012, 4:43pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/16 "2012-09-26T16:43:52Z")

</div>

Hi, i have a JMX config error. what is this?

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [September 26, 2012, 8:14pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/17 "2012-09-26T20:14:42Z")

</div>

Not. and the file is the original file.

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [October 3, 2012, 2:27pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/18 "2012-10-03T14:27:20Z")

</div>

Any can asnwer me? i continus with this error.

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [October 3, 2012, 3:11pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/19 "2012-10-03T15:11:06Z")

</div>

this is the conent to the Server.xml file

\*

8083

Server,VHost,VHostItem,Application,ApplicationInstance,MediaCaster,Module,IdleWorker

true

localhost

localhost

8084

8085

true

${com.wowza.wms.ConfigHome}/conf/jmxremote.password

${com.wowza.wms.ConfigHome}/conf/jmxremote.access

false

Shockwave Flash|CFNetwork|MacNetwork/1.0 (Macintosh)

10

10

6970

false

---

<div class="post-metadata">

**Author:** ![Jay\_Pee](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Jay\_Pee](https://community.wowza.com/u/Jay_Pee)\
**Post date:** [October 3, 2012, 3:26pm UTC](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776/20 "2012-10-03T15:26:05Z")

</div>

Log file say:

#Version: 1.0

#Start-Date: 2012-10-03 22:03:08 CEST

#Software: Wowza Media Server 3.1.2 build1624

#Date: 2012-10-03

#Fields: x-severity x-category x-event date time c-client-id c-ip c-port cs-bytes sc-bytes x-duration x-sname x-stream-id x-spos sc-stream-bytes cs-stream-bytes x-file-size x-file-length x-ctx x-comment

#Version: 1.0

#Start-Date: 2012-10-03 22:03:09 CEST

#Software: Wowza Media Server 3.1.2 build1624

#Date: 2012-10-03

#Fields: x-severity x-category x-event date time c-client-id c-ip c-port cs-bytes sc-bytes x-duration x-sname x-stream-id x-spos sc-stream-bytes cs-stream-bytes x-file-size x-file-length x-ctx x-comment

ERROR server comment 2012-10-03 22:03:14 - - - - - 7.0 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:14 - - - - - 7.086 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:14 - - - - - 7.173 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:14 - - - - - 7.222 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.263 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.311 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.375 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.438 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.498 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.699 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.752 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.805 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.853 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

ERROR server comment 2012-10-03 22:03:15 - - - - - 7.928 - - - - - - - - ModuleBase.sendStreamOnStatusError: java.lang.NullPointerException

[Next page](https://community.wowza.com/t/how-can-change-folder-of-wowza-log-files/36776.md?page=2)
