Apache Error Log Mac
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers mac apache error log location or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x
Apache Log Mac Address
Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it mac apache log analyzer only takes a minute: Sign up How do I access Apache error logs via the Terminal in Mac OS X 10.6.8? up vote 15 down vote favorite 5 I am having trouble with serving up my rails app on mac apache log viewer a remote computer after upgrading from Rails 3.0 to 3.1. So I want to take a look at what exactly is going wrong when Apache attempts to start up my app and it fails. How can I find the errors that Apache (or maybe Passenger?) is throwing via the Terminal? osx ruby-on-rails-3.1 apache2 share|improve this question asked Dec 27 '12 at 19:48 pitachip 3452416 add a comment| 2 Answers 2 active oldest votes up vote 37 down vote accepted in
Osx Apache Php Error Log
terminal, have you tried cat /var/log/apache2/error_log share|improve this answer answered Dec 27 '12 at 20:11 patrickmdnet 2,3381627 1 Thanks so much! I saw that this path for the location of the error log is in the httpd.conf file--just in case this isn't the path for everyone. –pitachip Jan 2 '13 at 0:11 If you just want to look at the last few lines of the log use tail /var/log/apache2/error_log instead. The error log tends to get bigger/longer with time. –victmo May 28 '14 at 23:29 add a comment| up vote 2 down vote only to complemente the others answers, I'm using the version 10.9.3 and to me, the address is: /private/var/log/apache2 share|improve this answer answered Jun 24 '14 at 5:49 Maciel Bombonato 42449 4 On OSX /var, /etc, and /tmp are symlinked to /private/var, /private/etc, and /private/tmp. –Mr. Dave Jan 28 '15 at 16:58 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged osx ruby-on-rails-3.1 apache2 or ask your own question. asked 3 years ago viewed 23970 times active 2 years ago Related 682Open terminal here in
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company el capitan apache logs Business Learn more about hiring developers or posting ads with us Ask Different Questions Tags mac apache log location Users Badges Unanswered Ask Question _ Ask Different is a question and answer site for power users of Apple hardware and software.
Osx Php Log
Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Where is the httpd error http://stackoverflow.com/questions/14060407/how-do-i-access-apache-error-logs-via-the-terminal-in-mac-os-x-10-6-8 log file on Lion? up vote 24 down vote favorite 3 I'm running a local web (development) server on my mac with apache installed. I'm sure it depends on my apache config but basically I just want to run tail -f /var/log/httpd-error.log in a terminal so I can see the error and warnings that occur during the development of my websites. So my question is where or how do I find where this log file http://apple.stackexchange.com/questions/40713/where-is-the-httpd-error-log-file-on-lion is placed since it is not placed in /var/log/ lion osx apache share|improve this question edited Feb 20 '12 at 14:58 bmike♦ 115k38202438 asked Feb 17 '12 at 11:18 FLY 1,62751531 add a comment| 5 Answers 5 active oldest votes up vote 45 down vote accepted As morth pointed out, for the default Mac OS X Apache installation these are located in: /var/log/apache2/error_log. The location can be changed in the httpd config using the ErrorLog directive, even for individual virtual hosts. Also note that if you installed another Apache besides the built-in one (like through MacPorts, or MAMP), this probably is different for you too. In that case you should have a look at the httpd.conf or equivalent for your installation. tip: If you have Growl installed, also have a look at this 'growltail' script. I think it's great to get notified of errors while developing, without having the need to switch back to the Terminal all the time. share|improve this answer edited Jan 25 '13 at 15:57 FLY 1,62751531 answered Feb 17 '12 at 11:52 Gerry 11.1k33565 2 Doesn't lion use apache2 and not apache in /var/log to contain the web server logs? Also, the Console app in /Applications/Utilities is the "Cocoa" log viewer, but it's not as handy as tail for most developers other than to explore the contents of
10, 2012 at 4:18 PMthanksReplyDeleteDadzy MaxwellJanuary 5, 2013 at 2:11 AMThank you for thisReplyDeletewmaiouiruSeptember 9, 2013 at 5:53 PMthx!!ReplyDeleteAdd commentLoad more... Newer Post Older Post Home http://priyanka-tyagi.blogspot.com/2011/01/apache-error-log-in-mac-osx.html Subscribe to: Post Comments (Atom) Search This Blog Loading... Blog Archive ► 2016 (16) ► September (1) ► Sep 13 (1) ► July (2) ► Jul 29 (1) ► Jul 25 (1) ► June (4) ► Jun 27 (1) ► Jun 17 (1) ► Jun 14 (1) ► Jun 13 (1) ► April (2) ► Apr 08 (2) ► March apache log (4) ► Mar 24 (1) ► Mar 11 (1) ► Mar 09 (1) ► Mar 06 (1) ► February (1) ► Feb 04 (1) ► January (2) ► Jan 21 (1) ► Jan 07 (1) ► 2015 (31) ► December (4) ► Dec 30 (1) ► Dec 24 (1) ► Dec 14 (1) ► Dec 08 (1) ► November (2) mac apache log ► Nov 23 (1) ► Nov 11 (1) ► October (11) ► Oct 29 (1) ► Oct 26 (1) ► Oct 22 (1) ► Oct 07 (5) ► Oct 06 (1) ► Oct 05 (2) ► September (11) ► Sep 22 (1) ► Sep 17 (3) ► Sep 16 (1) ► Sep 10 (1) ► Sep 09 (1) ► Sep 08 (4) ► April (1) ► Apr 10 (1) ► March (2) ► Mar 31 (2) ► 2014 (2) ► July (1) ► Jul 11 (1) ► June (1) ► Jun 25 (1) ► 2013 (9) ► June (1) ► Jun 02 (1) ► May (4) ► May 13 (4) ► April (1) ► Apr 02 (1) ► March (3) ► Mar 29 (2) ► Mar 15 (1) ► 2012 (5) ► August (2) ► Aug 09 (2) ► June (1) ► Jun 01 (1) ► May (2) ► May 29 (2) ▼ 2011 (22) ► August (2) ► Aug 26 (1) ► Aug 07 (1) ► July (2) ► Jul 22 (1) ► Jul 14 (1)