The
Ultimate
Business Machine

Technology, business
and innovation.

And, not least, about
the Mac.

Weblog Archive Cutedge

by: Bernard Teo








Creative Commons License

Copyright © 2003-2012
Bernard Teo
Some Rights Reserved.

The Ultimate Business Machine - Archives

List of Categories : Database * Technology * Commentary * Singapore * Travel *

Mon 05 Apr 2004

logGen

Category : Technology/logGen.txt

I read about logGen in MacSurfer on Saturday (which pointed to me to Macosxhints). It's interesting how things turn up just when you need them. This looks like what I need to keep track of the Perl modules. For example, if I install Date::Calc, I will get an output like this after running logGen :

logGen -- version 1.0
Copyright 2004 - The Regents of the University of Michigan
All Rights Reserved

45 new files:
---------------
/Library/Perl/5.8.1/darwin-thread-multi-2level/Bit/
/Library/Perl/5.8.1/darwin-thread-multi-2level/Carp/
/Library/Perl/5.8.1/darwin-thread-multi-2level/Date/
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/.DS_Store
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Bit/
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Date/
/Library/WebServer/.DS_Store
/System/Library/Perl/5.8.1/CPAN/Config.pm
/man/
---------------
2 changed files:
---------------
/Library/Logs/PasswordService/ApplePasswordServer.Server.log
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/perllocal.pod
---------------
0 deleted files

So this tells me that these are all the new stuff that came in with the Date::Calc installation, including all the modules Date::Calc depended on, and where you can find them.

Neat. Even if I had monitored the terminal window like a hawk during the Date::Calc installation, I would never have figured this out. An alternative is to compare the state of the file system using two machines. (Actually I did that and realised I would have needed three machines, with one serving as the baseline.) But this would be too tedious and almost impossible to get right.

So logGen is a great tool and I'm sure I can find even more use for it.

I can see that the installation process wrote something into perllocal.pod. Perhaps there's a short cut to all this if I know enough about Perl and maybe the answers are all in the pod file. But you learn things any way you can.

Posted at 12:36PM UTC | permalink

Mac@Work
Put your Mac to Work

Sivasothi.com? Now how would you do something like that?

Weblogs. Download and start a weblog of your own.

A Mac Business Toolbox
A survey of the possibilities

A Business Scenario
How we could use Macs in businesses

VPN Enabler for Mavericks

MailServe for Mavericks

DNS Enabler for Mavericks

DNS Agent for Mavericks

WebMon for Mavericks

Luca for Mavericks

Liya for Mountain Lion & Mavericks

Postfix Enabler for Tiger and Panther

Sendmail Enabler for Jaguar

Services running on this server, a Mac Mini running Mac OS X 10.9.2 Mavericks:

  • Apache 2 Web Server
  • Postfix Mail Server
  • Dovecot IMAP Server
  • Fetchmail
  • SpamBayes Spam Filter
  • Procmail
  • BIND DNS Server
  • DNS Agent
  • WebDAV Server
  • VPN Server
  • PHP-based weblog
  • MySQL database
  • PostgreSQL database

all set up using MailServe, WebMon, DNS Enabler, DNS Agent, VPN Enabler, Liya and our SQL installers, all on Mavericks.