Symantec Wise Installer log file (.log)
.log file signature | text/plain
Symantec Wise Installer log file is a plain text record format produced and maintained by Symantec Wise Installer, a Windows software packaging tool. It is used to document installation steps, track actions performed during setup, and assist with troubleshooting or auditing installer behavior. The format is associated with legacy installer workflows and is generally safe to inspect, though as with any log file, content should be reviewed carefully when received from untrusted sources.
Magic Bytes
Offset 0
2A 2A 2A 20 20 49 6E 73 74 61 6C 6C 61 74 69 6F 6E 20 53 74 61 72 74 65 64 20
Sources: Gary Kessler
Extension
.log
MIME Type
text/plain
Byte Offset
0
Risk Level
Safe
Validation Code
How to validate .log files in Python
def is_log(file_path: str) -> bool:
"""Check if file is a valid LOG by magic bytes."""
signature = bytes([0x2A, 0x2A, 0x2A, 0x20, 0x20, 0x49, 0x6E, 0x73, 0x74, 0x61, 0x6C, 0x6C, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x20])
with open(file_path, "rb") as f:
return f.read(26) == signature
How to validate .log files in Node.js
function isLOG(buffer: Buffer): boolean {
const signature = Buffer.from([0x2A, 0x2A, 0x2A, 0x20, 0x20, 0x49, 0x6E, 0x73, 0x74, 0x61, 0x6C, 0x6C, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x20]);
return buffer.subarray(0, 26).equals(signature);
}
How to validate .log files in Go
func IsLOG(data []byte) bool {
signature := []byte{0x2A, 0x2A, 0x2A, 0x20, 0x20, 0x49, 0x6E, 0x73, 0x74, 0x61, 0x6C, 0x6C, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x20}
if len(data) < 26 {
return false
}
return bytes.Equal(data[:26], signature)
}
API Endpoint
/api/v1/log
curl https://filesignature.org/api/v1/log
See the full API documentation for all endpoints and parameters.
Frequently Asked Questions
What is a .log file?
A .log file is a Symantec Wise Installer log file file. Symantec Wise Installer log file is a plain text record format produced and maintained by Symantec Wise Installer, a Windows software packaging tool. It is used to document installation steps, track actions performed during setup, and assist with troubleshooting or auditing installer behavior. The format is associated with legacy installer workflows and is generally safe to inspect, though as with any log file, content should be reviewed carefully when received from untrusted sources.
What are the magic bytes for .log files?
The magic bytes for Symantec Wise Installer log file files are 2A 2A 2A 20 20 49 6E 73 74 61 6C 6C 61 74 69 6F 6E 20 53 74 61 72 74 65 64 20 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.
How do I validate a .log file?
To validate a .log file, read the first bytes of the file and compare them against the known magic bytes (2A 2A 2A 20 20 49 6E 73 74 61 6C 6C 61 74 69 6F 6E 20 53 74 61 72 74 65 64 20) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.
What is the MIME type for .log files?
The primary MIME type for .log files is text/plain.
Is it safe to open .log files?
Symantec Wise Installer log file (.log) files are generally safe to open. They are classified as low risk because they primarily contain data rather than executable code. However, always ensure files come from a trusted source.