Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #31  
Old 04-15-2006, 01:57 PM
DaleMeyn DaleMeyn is offline
Registered User
 
Join Date: Feb 2006
Location: Stafford county, VA
Posts: 53
sdsl, I'm not sure I have any of the "asl.log" problems, and use macaroni so the system.log file is probably under control. I've tried looking for these files, can't find them, even using the "find" option in the "File" menu. Where are they, I'd like to look at them and size them up? The sum of all the "log" folders I can find (in Mac HD/library and Users/home/library) is about 1.5 MB, but these don't include "asi.log" nor "system.log". Dale Meyn.
Reply With Quote
  #32  
Old 04-16-2006, 09:27 AM
priller priller is offline
Registered User
 
Join Date: Dec 2005
Posts: 10
Log files live in /var/log
Reply With Quote
  #33  
Old 04-16-2006, 11:02 AM
DaleMeyn DaleMeyn is offline
Registered User
 
Join Date: Feb 2006
Location: Stafford county, VA
Posts: 53
Quote:
Originally Posted by priller
Log files live in /var/log
That's my problem, where is /var/log? Can't find it even using "Find". Dale.
Reply With Quote
  #34  
Old 04-16-2006, 11:35 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,814
Send a message via AIM to dnanian
Don't use Find, Dale. Use Finder's "Go To Folder..." command, and enter "/private/var/log" as the path. (/var is a link)
__________________
--Dave Nanian
Reply With Quote
  #35  
Old 04-16-2006, 09:30 PM
DaleMeyn DaleMeyn is offline
Registered User
 
Join Date: Feb 2006
Location: Stafford county, VA
Posts: 53
Quote:
Originally Posted by dnanian
Don't use Find, Dale. Use Finder's "Go To Folder..." command, and enter "/private/var/log" as the path. (/var is a link)
Aaaaaah, so that's it! I haven't gotten used to the "Go to folder" business, it's something new to me. Thanks. Dale.
Reply With Quote
  #36  
Old 08-06-2006, 01:37 AM
sdsl sdsl is offline
Registered User
 
Join Date: Dec 2005
Posts: 67
Quote:
Originally Posted by dnanian
OK. Attached is a little "prune_log" script that should work.

To use, unzip the attachment to an appropriate folder. (I suggest your personal Applications folder, but it's up to you.) Ensure that it looks like an "Unix executable file" when viewed in the finder.

Now, open SuperDuper! In the Advanced tab of Options, there's a selection under "After copy" to run a shell script when the copy completes. Check the box, and select the "prune_log" executable in the open panel.

That'll automatically remove any warnings from your system log on completion, assuming there were no errors during the run. All of these entries in the log are warnings, not errors, generated by the call I've spoken of earlier in the thread. Logging to the regular SuperDuper!.log will continue as usual, and no pruning will be done if an error occurs.

(For those who are interested, I tried to limit the pruning to just the SDCopy entries, but while the regular expression matching worked fine to restrict viewing to those entries, it wouldn't work to prune them, and I couldn't hardwire the location of SDCopy, which did work, because the user could have SuperDuper! installed anywhere.

What I attempted was:

syslog -p -k Sender Req .\*SDCopy

Without the -p, that only shows SDCopy entries. With the -p, it should prune those entries, but doesn't, and gives no errors. You'll need to put "sudo " in front of that if you want to try in Terminal, at least with -p.)

I've tested this here and it does properly prune the asl.log of these entries; let me know if it helps you out.

This script (which works well) was posted in mid-March. It shrunk the asl.log which was growing due to harmless error mesaages. Since then there have been I think two new versions of SuperDuper and also Mac OS has moved up to 10.4.7. Did either of these new versions eliminate the need for the script?
Reply With Quote
  #37  
Old 08-06-2006, 10:18 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,814
Send a message via AIM to dnanian
Yes, the script hasn't been necessary since the version that came out after this thread.
__________________
--Dave Nanian
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:34 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2022, vBulletin Solutions, Inc.