log
A log is a record of events over time. People keep logs of workouts, symptoms, or daily activities. A ship's log records where it has been.
What a model may hear
- logarithm mathematics and machine learning
- Apply a log transform to data, change the base of a calculation, or assume the user wants log-scaled axes or loss functions
- system log computing and DevOps
- Read or write log files, search server logs, or assume the user wants to parse application logs, error logs, or access logs
- logarithmic scale data visualization and science
- Switch a chart to log scale, or assume data spans many orders of magnitude and needs log compression
- log in / login authentication systems
- Confuse 'log' with 'login' or 'log out', and produce authentication code or account access instructions
- timber log forestry and logistics
- Rarely, interpret as a physical wooden log for construction or transport problems
Where people and models part ways
“Keep a log of my headaches”
Meant: Track dates, severity, and triggers in a journal
May be taken as: Create a structured database schema or logging system for medical events, or apply log transforms to pain scores
Say instead: “Track my headaches in a daily journal with date, severity, and what I did that day”
“Show me the log”
Meant: Show me the written record of what happened
May be taken as: Output a system log file, parse syslog format, or assume a specific logging framework like Log4j
Say instead: “Show me the written record of events, not a computer file”
“Plot this on a log scale”
Meant: Use a logarithmic axis for the chart
May be taken as: Correctly understood, but may choose natural log versus base-10 without asking
Say instead: “Use a base-10 logarithmic scale for the y-axis of this chart”
“Log the results”
Meant: Write down the results in a notebook or journal
May be taken as: Generate code to write results to a system log file or structured logging database
Say instead: “Write the results down in a notebook for me to review later”
Tips
- Say 'write down' or 'journal' if you do not want code or files
- Specify 'base-10 log' or 'natural log' for math to avoid wrong transforms
- Say 'server logs' or 'system logs' explicitly for computer records, not just 'logs'
- Add 'not a file' or 'in plain text' if you want a readable list, not structured logging output
- Distinguish 'log in' from 'log' to avoid authentication code when you want record-keeping
Often confused with
- login
- authentication versus record-keeping
- logarithm
- math function versus daily journal
- logger
- software component versus person who records
- log file
- computer file format versus any written record
- log scale
- axis transformation versus size of wood
- log out
- end session versus remove from journal