![]() |
#1 |
Member
![]() Posts: 15
Karma: 10
Join Date: Nov 2010
Location: Missouri
Device: Samsung Galaxy/Kindle for PC
|
![]()
I've been running the Calibre (ver. 8.14 currently) each evening. It allows me more freedon to roam while keeping my books on my pc rather than all on my phone. I just d/l my current book and delete it when finished. My wife does the same with her books, mags and favorite paper.
I saw that my content server logfile has grown quite large. My question is: where is this logfile located? And...how can I delete it or truncate it so it doesn't continue to grow? Crucis |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,242
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
In the calibre config directory Preferences->Miscellaneous
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 15
Karma: 10
Join Date: Nov 2010
Location: Missouri
Device: Samsung Galaxy/Kindle for PC
|
![]()
Thanks!
![]() Crucis |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 4640
Join Date: Aug 2011
Device: kindle
|
Are the logs actually outputted to a file? I was hoping to to use the access log in conjunction with fail2ban but couldn't find the files.
|
![]() |
![]() |
![]() |
#5 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,894
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Preferences - Miscellaneous - Open calibre configuration directory. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 4640
Join Date: Aug 2011
Device: kindle
|
|
![]() |
![]() |
![]() |
#7 |
Innkeeper
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 2222858
Join Date: Dec 2009
Location: Wilderness, Garden Route, South Africa
Device: Sony PRS-505, Kindle 3
|
I run the content server as a service in Windows 7 and assume that this is a "headless server". Please elaborate on the path to the log file - '~/.config/calibre' is, I fear, too terse for my limited knowledge. Thanks.
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
That path is for a *nix flavour system, where '~' refers to the users home directory. It's not applicable to Windows systems.
Headless server means a server with no direct input devices- no keyboard/mouse, no monitor- that's only used as a network server. Running the content server on Windows is not a headless configuration, assuming it's your desktop box you're talking about. That said, I can't currently tell you the location of the content server logfile on Windows, because I'm not currently at home. |
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,359
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
For me, under Windows 7, the directory is %APPDATA%\Roaming\Calibre and the files are server_access_log.txt and server_error_log.txt
|
![]() |
![]() |
![]() |
#10 |
Innkeeper
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 2222858
Join Date: Dec 2009
Location: Wilderness, Garden Route, South Africa
Device: Sony PRS-505, Kindle 3
|
Thanks, Manichean. My problem is that the content server, running as a service, does not seem to maintain its log files, especially the access log, in the folder indicated in "Preferences...Miscellaneous". If I stop the service and run the content server from within Calibre, the access log is updated and resides where it should. Shut the server down and restart the service, and either another access log is used or the expected one is not updated. Or I am dilly, which is also not beyond the bounds of credibility. Probabilities favour no updates, because extensive searches could not find server_access_log.txt anywhere.
|
![]() |
![]() |
![]() |
#11 |
Innkeeper
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 2222858
Join Date: Dec 2009
Location: Wilderness, Garden Route, South Africa
Device: Sony PRS-505, Kindle 3
|
I have resolved my problem.
The location of the logfiles when running the server from within Calibre is, as PeterT pointed out, %APPDATA%\Roaming\Calibre. When running Calibre as a service, on my system the logfiles are located on windows\system32\config\systemprofile\appdata\roam ing\calibre. I did not find the files via a search because I had no access to config and lower. |
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
content server, file management, logfiles |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server and Windows Home Server 2011 | HughMcC | Calibre | 8 | 10-01-2014 07:26 AM |
calibre content server only. | nesvarbu | Calibre | 5 | 02-18-2011 03:40 AM |
New content server interface in 0.7.24 | kovidgoyal | Calibre | 23 | 10-26-2010 11:36 AM |
Need help - content server | Sydney's Mom | Calibre | 0 | 08-28-2010 04:07 PM |
Content Server | thibaulthalpern | Calibre | 5 | 04-28-2009 12:56 PM |