hi every1!!! just wanna ask where is d default directory for sugarcrm??? i just select the default but when i try to look for it.. there's no such thing as log directory... any help wud be greatly appreciated.. tnx!!!
hi every1!!! just wanna ask where is d default directory for sugarcrm??? i just select the default but when i try to look for it.. there's no such thing as log directory... any help wud be greatly appreciated.. tnx!!!
By default, look for sugarcrm.log in the root directory of the sugracrm website/server/
On linux, it'll be something like /var/www/sugarcrm, on ISS, something like c:\inetpub\wwwroot\sugarcrm
tnx. but i did that already and i cant the log file.. btw.. im using linux.. tnx agen..
Last edited by yongitz; 2005-12-08 at 01:53 AM.
You should have a file called log4php.properties. It will look like this.
comment out the log4php.rootLogger=fatal, A2 and uncomment one of the others.Code:log4php.appender.A2=LoggerAppenderRollingFile log4php.appender.A2.MaxFileSize=10MB log4php.appender.A2.MaxBackupIndex=5 log4php.appender.A2.layout=LoggerLayoutTTCC log4php.appender.A2.layout.ContextPrinting="true" log4php.appender.A2.layout.DateFormat="%c" log4php.appender.A2.File=./sugarcrm.log log4php.rootLogger=fatal, A2 //log4php.rootLogger=error, A2 //log4php.rootLogger=info, A2 //log4php.rootLogger=debug, A2
error = little log
info = bigger log
debug = massive log
Kenneth Brill - Help Forum Moderator
I do not respond to 'Private Messages'. Please email me directly instead
When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
Help us Help You
after doing that i can check the sugarcrm.log in the my sugarcrm directory?? k.. thank u very much
By default the logger writes to sugarcrm.log at the root of sugar's html directory. If you don't see this file, you may need to create it and make sure permissions are set correctly to write to it. Depending on your root ownership/permissions this file may not be created "automatically".
"apache" is typically the owner, but it may be "nobody" or some other user. ls -la and see who owns the "custom", "cache", "data" or "modules" directories. chown to this user.Code:touch sugarcrm.log chown apache sugarcrm.log chmod 644 sugarcrm.log
Mike
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks