Displaying 20 results from an estimated 40000 matches similar to: "logserver with log4r"
2009 Dec 24
1
problems unpacking log4r
I was just starting to use log4r and everything was going peachy until I
tired to unpack it into my local vendor/gems. The next time I tried to
load my rails environment, I got:
config.gem: Unpacked gem log4r-1.1.2 in vendor/gems has no specification
file. Run ''rake gems:refresh_specs'' to fix this
and:
no such file to load -- log4r
So - I dutifully tried running rake
2006 May 21
0
Re: log4r and rails
The first question I would ask (partially out of curiosity) is what
log4r specific feature are you trying to use?
While there are some neat log4r features, the built in logger provides
(from my perspective) a good logging framework already probably
addresses most logging needs.
http://wiki.rubyonrails.com/rails/pages/HowtoConfigureLogging
That said, a basic setup to use log4r in rails follows a
2012 Jan 16
0
Rails3 logging issue in development.log
I have a rails3 app, i need to log all into development.log, But when i
check after the execution, the development.log is empty...How to rectify
this problem...
*development.rb*
*
*
ApiMofobi::Application.configure do
# Settings specified here will take precedence over those in
config/application.rb
# In the development environment your application''s code is reloaded on
#
2006 Apr 04
0
Log4r database outputter
I recently had a look at Log4Net before we decided to go with Ruby On Rails. As
part of evaluating Ruby and Rails, I had a look at Log4r as well.
We want to use Log4r, and we would have a logger that output all levels to
console and stdout, and everything above Warn to a database table. But the
deployment of log4r doesn''t come with a database outputter. Is there any
reason for this?
2006 Apr 07
3
log4r and rails
Hey there folks. I would really like to use log4r as my default logger
in Rails, but I''m having a hard time getting it to work. I''m not even
sure I''m plugging it in in the right place. I''m using log4r 1.0.5 and
rails 1.1.1.
I would love it if someone could either point me to a good tutorial on
how to use log4r with rails, or at least point me in the right
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening?
C:\Users\Family\workspace\myapp>rake test
(in C:/Users/Family/workspace/myapp)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
Errors
2006 Jul 12
2
Initializing log4r once
I have a problem init''ing log4r. I have the following initialization
code for log4r:
Configurator[''logpath''] = ''./config'' # was ''./logs''
Configurator.load_xml_file(''config/log4r_config.xml'')
I put it in appliction.rb, but then ofcourse at every request the logger
system will be reinitialized. This causes the
2008 Jun 30
0
log4r warning message...
I installed log4r as a gem on Max OS X Leopard. When I start the
server locally, I have a warning that I''d like to get rid of. I think
this is a side-effect of log4r? Other rails projects that I am working
on, on the same machine that don''t generate this warning. this one is
the only one using log4r.
=> Booting Mongrel (use ''script/server webrick'' to force
2011 May 16
1
You cannot have more than one Rails::Application (RuntimeError)
I installed RVM and am getting a kinds of errors. I have managed to get
most things back to normal but I get this error now in one of my apps.
/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/application.rb:63:in
`inherited'': You cannot have more than one Rails::Application
(RuntimeError)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
2013 Nov 09
1
ActiveRecord return normal?
Hi Everyone,
I''m totally brand new to RoR. I''m really starting to love coding more now
that I''ve found RoR. I have what might be a dumb question, but I''m curious
to know this.
Is it normal to get this result:
In the Beginning Rails 4 book
I''m following this step:
irb(main):097:0> article.location = "Toronto, ON"
Here''s
2006 Aug 12
0
log4r versus default rails logger??? recommendations???
Hi all,
Just into rails at the moment. What do people recommend for logging.
Use of the rails logger or log4r (http://log4r.sourceforge.net/)? What
are most production rails sites using?
Tks
--
Posted via http://www.ruby-forum.com/.
2013 Nov 12
7
Hook into Exception Chain
Hi there,
I''m using Log4r in my rails projects. On log.error an email is sent using
the EmailOutputter.
I know changed the EmailOutputter to include a global var in the subject
(MDC) since the subject is normally static.
I want to set this var to the exception message, so it is sent as the
subject.
Can anyone tell me how to do this in rails?
Basically:
raise e or some other cause
2010 Apr 21
0
can't seem to install bleak house
hi, guys
I looked at http://guides.rubyonrails.org/debugging_rails_applications.html
and figured I give bleak house a try.
I ran into a problem during installation of the gem.
Here''s an extract:
--------------------------------- Extract start
-----------------------------------------------------------
Makefile:671: warning: overriding commands for target `dist''
Makefile:671:
2011 Dec 08
3
Problem with running "WEbrick"
Hi
After I installed ruby 1.9.2p290(with rubyInstaller) on windows 7 and
connected MySQL to it ( I checked it
and it worked ) I installed rails then I create a project on
"C:\Users\Amiref\Documents\Sites\simple_cms"
with this order : "rails new simple_cms -d mysql"
then when I use "rails server" to run webrick I saw this error on
command prompt :
"rails.bat :
2006 Apr 11
2
using log4r and rails
hey everyone. i know somebody else had started a thread on this subject,
but since no one seems to be answering that thread i thought i would
start one of my one.
i''m doing a project for a client and we need some seriously verbose
logging. it looks like log4r can do what i need, but i can''t for the
life of me figure out how to plug it into rails. everywhere talks about
how
2011 Dec 27
2
mysql compatibility error--already reported by another correspondent
C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-
mingw32/lib/mysql2/mysql2.rb:2:in `require'': Incorrect MySQL client librar
y version! This gem was compiled for 6.0.0 but the client library is 5.5.19.
(RuntimeError)
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2012 Feb 06
3
Can't complete the Getting Started tutorial due to ExecJS::RuntimeError in Home#index
I have just installed Rails 3.2.1 on my Xubuntu using the gem system
and I try to make the tutorial http://guides.rubyonrails.org/getting_started.html
and on section 4.3 Setting the Application Home Page I get the
following error
ExecJS::RuntimeError in Home#index
Showing /home/xonx/rails/blog/app/views/layouts/application.html.erb
where line #6 raised:
(in
2013 Jan 31
1
WickedPdf error in production
Hello everyone,
I am using rails -v 3.2.8.
I am using wickedpdf to generate pdf. Its working well in my local machine.
But its not working in production server.
ompleted 500 Internal Server Error in 4443ms
RuntimeError (Failed to execute:
"/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtmltopdf" -q
"file:///tmp/wicked_pdf_5855_0.html"
2011 Dec 09
1
Issue installing rjb, could not create MakeFile
Hello,
I''m having some problems when try to install rjb i get this message
C:\Users\PC1090\Documents\RJB\rjb-1.3.8>ruby setup.rb config
---> bin
<--- bin
---> lib
<--- lib
---> ext
C:/Ruby187/Ruby1.8.7/bin/ruby
"C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb"
checking for jni.h... no
*** C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb failed
2010 Aug 10
1
script/server throws out lot of errors
Hello,
I use Rails 2.3.8 on my Ubuntu (10.04) machine. I started a new app
and when I started it using script/server , I get these following
errors
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
/var/lib/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:271:in
`require_frameworks'': no such file to load -- net/https (RuntimeError)
from