how can I change, where TM places the log file? It currently creates textmate_bundle.log in my home directory, which is kind of annoying to me. (I could maybe make it invisible?)
can I change the place this log is saved to?
Thomas Krajacic
Uhh, what specifically is creating this file? I've never seen it before, and certainly don't have it anywhere on my disk.
On Dec 2, 2006, at 9:36 AM, Thomas Krajacic wrote:
how can I change, where TM places the log file? It currently creates textmate_bundle.log in my home directory, which is kind of annoying to me. (I could maybe make it invisible?)
can I change the place this log is saved to?
On Dec 3, 2006, at 3:14 PM, Kevin Ballard wrote:
Uhh, what specifically is creating this file? I've never seen it before, and certainly don't have it anywhere on my disk.
It seems to be related to the Rails bundle:
grep -R textmate_bundle.log /Applications/TextMate.app/Contents/
SharedSupport/Bundles
/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Rails.tmbundle/Support/lib/rails/unobtrusive_logger.rb:$logger = UnobtrusiveLogger.new("#{ENV["HOME"]}/textmate_bundle.log")
I'm not a Rails user, but I guess one could change it to, e.g., "/tmp/ textmate_bundle.log", but of course it should be done in a local copy of (part of) the bundle, so it is not overwritten by the next TextMate update (well it would work for at least 9 weeks :-) ).
Kind regards, Benny
On Dec 2, 2006, at 9:36 AM, Thomas Krajacic wrote:
how can I change, where TM places the log file? It currently creates textmate_bundle.log in my home directory, which is kind of annoying to me. (I could maybe make it invisible?)
can I change the place this log is saved to?
On Dec 2, 2006, at 11:52 PM, Benny Kjær Nielsen wrote:
On Dec 3, 2006, at 3:14 PM, Kevin Ballard wrote:
Uhh, what specifically is creating this file? I've never seen it before, and certainly don't have it anywhere on my disk.
It seems to be related to the Rails bundle:
grep -R textmate_bundle.log /Applications/TextMate.app/Contents/
SharedSupport/Bundles
/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Rails.tmbundle/Support/lib/rails/unobtrusive_logger.rb:$logger = UnobtrusiveLogger.new("#{ENV["HOME"]}/textmate_bundle.log")
I'm not a Rails user, but I guess one could change it to, e.g., "/ tmp/textmate_bundle.log", but of course it should be done in a local copy of (part of) the bundle, so it is not overwritten by the next TextMate update (well it would work for at least 9 weeks :-) ).
On the contrary, this should change in the actual bundle I think, I don't know much about the Rails bundle, but no application has the right to write anything anywhere in the user's home directory, except for the Library folder, without the user asking for it:
http://developer.apple.com/documentation/MacOSX/Conceptual/ BPFileSystem/Articles/WhereToPutFiles.html#//apple_ref/doc/uid/ TP40001411-111946
Kind regards, Benny
Haris
On Dec 3, 2006, at 5:13 PM, Charilaos Skiadas wrote:
On Dec 2, 2006, at 11:52 PM, Benny Kjær Nielsen wrote:
I'm not a Rails user, but I guess one could change it to, e.g., "/ tmp/textmate_bundle.log", but of course it should be done in a local copy of (part of) the bundle, so it is not overwritten by the next TextMate update (well it would work for at least 9 weeks :-) ).
On the contrary, this should change in the actual bundle I think, I don't know much about the Rails bundle, but no application has the right to write anything anywhere in the user's home directory, except for the Library folder, without the user asking for it:
http://developer.apple.com/documentation/MacOSX/Conceptual/ BPFileSystem/Articles/WhereToPutFiles.html#//apple_ref/doc/uid/ TP40001411-111946
I agree, I just wanted to indicate an immediate solution for the original poster. I didn't intend to defend the location of the log file :-)
Kind regards, Benny
On Dec 3, 2006, at 07:24, Benny Kjær Nielsen wrote:
On Dec 3, 2006, at 5:13 PM, Charilaos Skiadas wrote:
On Dec 2, 2006, at 11:52 PM, Benny Kjær Nielsen wrote:
I'm not a Rails user, but I guess one could change it to, e.g., "/ tmp/textmate_bundle.log", but of course it should be done in a local copy of (part of) the bundle, so it is not overwritten by the next TextMate update (well it would work for at least 9 weeks :-) ).
On the contrary, this should change in the actual bundle I think, I don't know much about the Rails bundle, but no application has the right to write anything anywhere in the user's home directory, except for the Library folder, without the user asking for it:
http://developer.apple.com/documentation/MacOSX/Conceptual/ BPFileSystem/Articles/WhereToPutFiles.html#//apple_ref/doc/uid/ TP40001411-111946
I agree, I just wanted to indicate an immediate solution for the original poster. I didn't intend to defend the location of the log file :-)
Kind regards, Benny
Thanks for your answers. I will change my Bundle accordingly. Maybe this gets changed in a later version. Hopefully
Kind regards, Thomas