added 'log/' to .gitignore file #455

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@Tpbradley

No description provided.

@arjan
Member
arjan commented Nov 13, 2012

Just to be curious, how did you end up with a log/ directory?

Zotonic stores logs in priv/log and priv/sasl, ususally.

@Tpbradley

Oh yes... so it does... I'm not sure how I've ended up with the log/ folder. It contains error.log, crash.log and console.log

My priv/log folder contains access logs and my priv/sasl contains the three files mentioned above although they have not been updated for a few days now. Anything new seems to be going in the log/ folder.

Is there something I should check on my install?

@arjan
Member
arjan commented Nov 18, 2012

How did you start zotonic?

@Tpbradley

I'm just using the zotonic.sh file.

zotonic@ss:~$ zotonic.sh start

My directory structure is as follows
/home/zotonic/zotonic.sh -- zotonic start script
/home/zotonic/zotonic/ -- zotonic install

-- top of zotonic.sh

# Change this to your base directory
HOME=/home/zotonic
BASE=$HOME/zotonic
# Change this to the complete path to zotonic.sh (this script)
ZOTONIC_SH=$HOME/zotonic.sh
# Change this to the directory where you have unpacked zotonic
# IMPORTANT: this directory must be called zotonic or zotonic-x.y where x.y is the version number.
ZOTONIC=$BASE
# Change this to point to the erlang vm
ERL="/usr/local/bin/erl"
@arjan
Member
arjan commented Nov 19, 2012

You'd better start with zotonic start or zotonic debug. zotonic.sh is pretty outdated and not maintained in newer zotonic versions... using the zotonic script I suspect that will fix the log issue.

http://zotonic.com/docs/manuals/cli.html
http://zotonic.com/docs/manuals/deployment/index.html

@Tpbradley

Ahh ok, I'll give that a try, thanks! I followed the deployment guide in the old docs which mentioned about the zotonic.sh file

http://zotonic.com/documentation/777/deployment

@arjan
Member
arjan commented Nov 19, 2012

OK, I'll close this one for now. The old docs will soon be replaced by the new ones with the next release.

@arjan arjan closed this Nov 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment