aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Wishlist - logfile location  (Read 3800 times)

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Wishlist - logfile location
« on: December 15, 2011, 11:26:04 PM »


It'd be nice to be able to define the location of logfiles and known*.met  in amule.conf

This would allow optimisation of placement into/off of SSD/ramdisk (or /var/log)



Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1546
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Wishlist - logfile location
« Reply #1 on: December 16, 2011, 01:26:54 AM »

You already can move the complete homedir to a location where you have write access to. This includes logfile and everything else in your ~/.amule
Logged
Homefucking is killing prostitution

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Wishlist - logfile location
« Reply #2 on: December 19, 2011, 10:58:36 AM »

Yes you can, but you can't separate stuff which benefits from (or is harmful to) SSDs

In particular: logfiles are really bad for SSDs - writing one line at a time when the device has to erase in 128kb blocks for any write can result in premature device failure.

Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1546
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Wishlist - logfile location
« Reply #3 on: December 19, 2011, 03:04:42 PM »

Symlinks?
Logged
Homefucking is killing prostitution

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Wishlist - logfile location
« Reply #4 on: December 19, 2011, 09:21:32 PM »

Don't work. They get trashed every time the program is restarted.


Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Wishlist - logfile location
« Reply #5 on: December 19, 2011, 09:47:59 PM »

writing one line at a time when the device has to erase in 128kb blocks for any write can result in premature device failure.
That's not how a SSD works.
Anyway, if you are afraid of using it, why buy it in the first place? Your SSD will probably obsolete long before it gets broken.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: Wishlist - logfile location
« Reply #6 on: December 20, 2011, 07:37:31 PM »

Logged