# Change log directory

**URL:** <https://community.ciphermail.com/t/change-log-directory/407>\
**Category:** Gateway\
**Created:** [November 14, 2014, 10:16pm UTC](https://community.ciphermail.com/t/change-log-directory/407 "2014-11-14T22:16:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven\_Shockley](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Steven\_Shockley](https://community.ciphermail.com/u/Steven_Shockley)\
**Post date:** [November 14, 2014, 10:16pm UTC](https://community.ciphermail.com/t/change-log-directory/407/1 "2014-11-14T22:16:30Z")

</div>

Where is the log directory configured? I'd like to move james.wrapper.log from /usr/share/djigzo/logs to /var/log/djigzo (with appropriate perms). Thanks.

[cid:image371f8e.JPG(a)c8bf4888.4fad6c3d]  
Steven Shockley  
Manager Security Operations

120 Welsh Road | Horsham PA 19044-2207  
T: +1 (215) 328-1495  
steven.shockley(a)berkadia.com\<mailto:Steven.Shockley(a)[berkadia.com](http://berkadia.com)\> | www.berkadia.com\<[http://www.berkadia.com](http://www.berkadia.com)\>  
Berkadia Commercial Mortgage LLC

a Berkshire Hathaway and Leucadia National company

This message is intended for the individual or entity named above. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Please notify the sender by reply and delete this message from your system. Thank you.

![image371f8e.JPG](https://europe1.discourse-cdn.com/flex017/uploads/ciphermail/original/1X/9ad649401c3dc5533e8cff406090b621bf4982c8.jpeg)

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [November 14, 2014, 10:45pm UTC](https://community.ciphermail.com/t/change-log-directory/407/2 "2014-11-14T22:45:58Z")

</div>

The location of the log file is specified in the file

/usr/share/djigzo/wrapper/djigzo.wrapper.conf

See the line:

# Log file to use for wrapper output logging.  
wrapper.logfile=logs/james.wrapper.log

You should make sure that the location of the log file is  
writable/readable by user djigzo

Note: the backend should be restarted after the change (sudo  
/etc/init.d/djigzo restart)

It should be noted that the MPA log view reads the log file the default  
location so if you want to view the MPA logs with the GUI, it best to  
create a symlink to the new log files

Kind regards,

Martijn Brinkers

> **···**
>
> On 11/14/2014 11:16 PM, Steven Shockley wrote:
> 
> > Where is the log directory configured? I'd like to move  
> > james.wrapper.log from /usr/share/djigzo/logs to /var/log/djigzo  
> > (with appropriate perms). Thanks.
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP  
> and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
