-
Notifications
You must be signed in to change notification settings - Fork 19
/
.env.example
52 lines (43 loc) · 2.88 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Here's some environment variables you can use to configure the application above and beyond
# providing command line options. Useful if you want to permanently configure options
# you tend to reuse (e.g. '--maximize-width') so you can stop remembering to type them.
#
# If you place a filed called '.env' in pdfalyzer's project dir then environment variables specified
# in that .env file will be added to the environment each time pdfalyzer is invoked. See the `dotenv`
# package for more details.
#
# Easiest way to do this is usually to just copy this example .env file over to an actual file called
# .env and then edit it.
# Size threshold (in bytes) over which pdfalyzer will NOT make attempts to decode or analyze that chunk of data.
# Basically the threshold at which we leave a regex match alone. May
# feel counterintuitive but larger chunks of random binary are harder to examine, slower to decode by force, and
# (in my experience) less likely to be maningful. Consider it - two frontslash characters 20,000 lines apart
# are more likely to be random than those same frontslashes when placed nearer to each other and
# in the vicinity of lot of computerized sigils of internet power like `.', `+bacd*?`,. and other regexes.*
# Keeping this number low will do more to affect the speed of the app than ay anything else you
# can easily configure..
# PDFALYZER_MAX_DECODABLE_CHUNK_SIZE
# Expand the width of the output to the fit the display window (same as the --maximize-width options)
# PDFALYZER_MAXIMIZE_WIDTH=True
# Suppress all PDF binary regex matchingsuppressed (this is the slowest task)
# PDFALYZER_SUPPRESS_DECODE_OF_QUOTED_STRING = False
# Suppress the display of the table showing the the encoding assessments given by `chardet.detect()`
# about a particular chunk of binary data. (The most important data in the chardet confidence table is
# redunandant anyways. Only the low likelihood encodings are hidden from the usef)
# PDFALYZER_SUPPRESS_CHARDET_TABLE
# Configure how many bytes before and after any binary data should be included in scans and visualizations
# PDFAlYZER_SURROUNDING_BYTES=64
# Directory to write application logs to. Must be an absolute path, not a relative one.
# These logs are not normally written to a file and the default log level means that the standard behavior
# is to more or less discard them. Be aware that if you configure this variable a few things will change:
#
# 1. Logs WILL NOT be written to STDOUT. They will stream ONLY to files in the configured directory.
# This is true even with the -D option.
# 2. The default log_level will be decreased from WARN (extremely spartan) to INFO (fairly verbose).
# The -D option, which sets the log level to DEBUG, will be respected whether or not
# PDFALYZER_LOG_DIR is configured.
#
# PDFALYZER_LOG_DIR=/path/to/pdfalyzer/log_dir/
#PDFALYZER_LOG_TIMESTAMPS
PDFALYZER_LOG_DIR
PDFALYZER_LOG_LEVEL