Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-26-2018, 07:22 AM   #1
mdw123456
Junior Member
mdw123456 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
Calibre web book download/read stats

I have setup a central calibre server and about 10 users are using over the web on desktop and android browsers. Is there a way to see the stats of book downloads and book reads that they are doing using their browsers?

Thanks
mdw123456 is offline   Reply With Quote
Old 12-26-2018, 11:19 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,946
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Preferences: Sharing over the Net: View Server Logs (button on the right)
theducks is offline   Reply With Quote
Advert
Old 12-26-2018, 11:57 PM   #3
mdw123456
Junior Member
mdw123456 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
Thanks much,

I am not using GUI. The calibre-server starts on boot. Is there a way to check these logs using command-line or in a file?
mdw123456 is offline   Reply With Quote
Old 12-27-2018, 02:29 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,662
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by mdw123456 View Post
Thanks much,

I am not using GUI. The calibre-server starts on boot. Is there a way to check these logs using command-line or in a file?
The logs (server-access-log.txt and server-log.txt) are in the calibre cache directory, you can set its location via the CALIBRE_CACHE_DIRECTORY environment variable. I'm not sure where it normally lives.

BR
BetterRed is online now   Reply With Quote
Old 12-27-2018, 03:37 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,254
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
you control the location of the log files by command line optiotns to calibre-server. See

calibre-server --help
kovidgoyal is online now   Reply With Quote
Advert
Old 12-27-2018, 07:55 PM   #6
mdw123456
Junior Member
mdw123456 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
Thanks Kovid. Used the option.

However, the name of the book is not being logged when I open it. Only ID is showing up. Trying to mine the logs.
mdw123456 is offline   Reply With Quote
Old 12-27-2018, 09:04 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,254
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can convert the id to a name by using the calibredb command line tool. Note that you should do that on a different computer than the one running the server as you cant run both the server and the calibredb tool on the same library at the same time.

Or alternately you can use the JSON endpoint of the server to itself to convert the id to a name.
kovidgoyal is online now   Reply With Quote
Old 12-28-2018, 11:43 PM   #8
mdw123456
Junior Member
mdw123456 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
can you please point me to the JSON endpoint of the server. Can I modify this without source code?
mdw123456 is offline   Reply With Quote
Old 12-29-2018, 12:49 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,254
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
you dont need to modify anything, if you want to get the metadata for a book from a book id, use

http://localhost:8080/ajax/book/123

replace 123 with the actual book id.

And if you have setup password protection, either supply a username and password, or use the option in the content server preferences to allow local programs full access.
kovidgoyal is online now   Reply With Quote
Old 12-29-2018, 01:40 AM   #10
mdw123456
Junior Member
mdw123456 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
I wanted to see if I can edit a html or a JSON file to log the book name instead of the ID. Thanks.
mdw123456 is offline   Reply With Quote
Reply

Tags
calibre web server update


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 3.4 web interface - read books CrustyCurmudgeon Library Management 16 08-05-2017 04:14 AM
Calibre server 3.0 - Cant read books on web reader eridani Calibre 2 06-16-2017 03:27 PM
modifying reading stats (number of books read and hours read)? psy65 Kobo Developer's Corner 10 10-14-2016 03:06 AM
Reading life stats, viewable on the web? paulsalter Kobo Reader 2 12-09-2014 04:14 AM
Calibre Web Interface - Add MetaData pre-Download? Fmstrat Calibre 9 01-13-2012 08:58 AM


All times are GMT -4. The time now is 06:32 AM.


MobileRead.com is a privately owned, operated and funded community.