Usage Guide
This guide explains how to use LogIt for daily operations.
First Time Setup
1. Login as Admin
Use the credentials you created with create_admin.py:
Navigate to http://your-server:5000
Select your logbook from dropdown (or create one first)
Enter admin username and password
Click “Login”
2. Create a Logbook
From the Admin panel:
Go to
/admin(click Admin link in navigation)Find “Create New Logbook” section
Enter logbook name (e.g., “xams”, “experiment1”)
Optionally add users who should have access
Click “Create Logbook”
3. Add Users
Local users:
In Admin panel, find “Register New User” section
Enter username, full name, email
Set password
Check “Admin” box if needed
Select logbooks this user can access
Click “Register User”
SSO users:
SSO users are created automatically on first login
Configure their logbook access via “Manage User Logbook Permissions”
Adding Entries
Create a New Entry
Click “Add Entry” in navigation
Fill in the text box with your entry content
(Optional) Add keywords:
Click “Select Keywords” button
Choose from existing keywords
Or add new keywords in Admin panel first
(Optional) Attach files:
Click “Choose Files” button
Select images, PDFs, or Excel files
Multiple files can be attached
Click “Add Entry”
The entry will be saved with:
Current timestamp
Your username as author
Selected keywords
Attached files
Entry Best Practices
Be descriptive but concise
Use keywords consistently for easier searching
Attach relevant images or data files
Document unusual observations or issues
Include context for future reference
Editing Entries
Edit Entry Text
Find the entry in the entries list
Click the edit icon (pencil) next to the entry
Modify the text in the modal dialog
Click “Save Changes”
Update Keywords
Click the keywords icon for an entry
Select/deselect keywords
Click “Update Keywords”
Note: Only the entry author or admin can edit entries.
Searching and Filtering
Search by Keyword
Go to “Entries” page
Click on any keyword to filter entries
Click multiple keywords to combine filters
Click “Clear Filters” to reset
Search by Text
Use the search box at top of Entries page
Enter any text to search within entry content
Results update automatically
Date Range Filtering
Use the date range selector (if available)
Select start and end dates
Click “Apply” to filter
View Options
Table view: Paginated list with sorting
Timeline view: Chronological display
Calendar view: Monthly calendar with entry markers
Slow Control Monitoring
Accessing Plots
For experiments with slow control integration:
Select the appropriate logbook (e.g., “xams”)
Navigate to
/plot/route (link in navigation)View interactive plots of sensor data
Using Interactive Plots
Zoom and Pan:
Click and drag to zoom into a time range
Double-click to reset zoom
Use mouse wheel to zoom in/out
Time Range Selection:
Use range slider at bottom of first plot
Drag handles to select time range
All plots will update simultaneously
Synchronized Views:
Zooming one plot zooms all plots
Helps correlate events across sensors
Download Plots:
Click camera icon in plot toolbar
Select format (PNG recommended)
File saves with timestamp in filename
Auto-Refresh:
Plots update automatically every 60 seconds
Shows latest data if you’re at the right edge of time range
Sensor Groups
Default sensor groups (configurable):
Temperature: Cryostat temperatures (TT201-TT401, etc.)
Pressure: System pressures (PT101-PT201)
Pump: Pump temperature, flow, power
High Voltage: PMT voltages and currents
Keywords Management
Viewing Keywords
Click “Keywords” in navigation to see all available keywords.
Adding Keywords (Admin)
Go to Admin panel
Find “Keyword Management” section
Enter new keyword name
Click “Add Keyword”
Removing Keywords (Admin)
Select keyword from list
Click “Remove Keyword”
Confirm deletion
Note: Removing a keyword doesn’t delete entries, just removes the keyword tag.
Admin Tasks
User Management
View all users:
Admin panel shows list of all users
See auth method (local or SSO)
See logbook access
Update user permissions:
Select user from dropdown
View current logbook access
Hold Ctrl/Cmd to select multiple logbooks
Click “Update User Permissions”
Create local users:
Use “Register New User” form in admin panel.
Logbook Management
Create logbooks:
Use “Create New Logbook” form.
Manage logbook access:
Use “Manage User Logbook Permissions” section to grant/revoke access.
Database Activity
View recent database operations:
Go to
/dbactivity.htmlSee timestamps, collections, operations
Useful for troubleshooting and auditing
Common Workflows
Shift Log Entry
Login at start of shift
Click “Add Entry”
Enter: “Shift start - [Your Name] - [Date/Time]”
Add keyword: “shift_log”
Note any ongoing issues or tasks
At end of shift, add another entry with summary
Incident Reporting
Click “Add Entry” immediately
Describe the incident clearly
Add keywords: “incident”, “[system_name]”, “[severity]”
Attach photos/screenshots if relevant
Update entry later with resolution
Equipment Maintenance
Before maintenance: Create entry with plans
Keywords: “maintenance”, “[equipment_name]”
During maintenance: Note observations
After maintenance: Update with results
Attach before/after photos
Monitoring Trends
Go to slow control plots
Use range slider to select time period
Look for correlations between sensors
Screenshot interesting patterns (camera icon)
Create logbook entry referencing the time period
Tips and Tricks
Use consistent keyword naming (lowercase, underscores)
Create shift handover templates as keyword sets
Check slow control plots before/after changes
Use calendar view to track maintenance schedules
Export data regularly for backups
Keep admin password secure and separate from regular users
Troubleshooting
Can’t Add Entry
Check you’re logged in
Verify you have logbook access
Check file sizes (large files may timeout)
Plots Not Loading
Verify slow control data exists in database
Check browser console for errors
Try refreshing page (Ctrl+F5)
Contact admin to verify data format
Can’t See a Logbook
Contact admin to grant access
Check you selected correct logbook at login
Verify logbook exists
Search Not Working
Clear browser cache
Try more specific keywords
Check spelling
Verify entries exist with those keywords