观看记录

想看

  • The First Grader (2010) [Education]
  • The Fabelmans (2022) [8mm]
  • 8MM (1999)
  • The Glass Castle (2017) [Nonconformist]
  • The Raid: Redemption (2011) [Indonesia]
  • Singing Behind Screens
  • Pirates of the Caribbean: At World’s End (2007) [Zheng Yi Sao]
  • Guillermo del Toro’s Pinocchio (2022)
  • Mimic (1997) [Guillermo del Toro]
  • Dangerous Liaisons (1988)
  • Valmont (1989)
  • Cruel Intentions (1999)
  • Cruel Intentions 2 (2000)
  • The White Countess (2005) [1930s Shanghai]
  • Juno (2007)
  • The Freshman (1925) [college student, Jock]
  • Valkyrie (2008) []
  • Frankenstein (1931) [Mary Shelley]
  • Mary Shelley (2017)
  • Basmati Blues (2017)
  • The Philadelphia Story (1940) []
  • Gilda (1946) [Film-Noir]
  • The Blind Side (2009)
  • Stand and Deliver (1988) [School teacher]
  • BlacKkKlansman (2018)
  • The Pearl of Death (1944)
  • Blackadder (1982–1983) [English culture]
  • Celluloid (2013)
  • Broken Flowers (2005)
  • Demolition (2015) [Destruction]
  • Naked Lunch (1991) [Beat Generation]
  • Videodrome (1983)
  • American Mary (2012)
  • Scorned (2013)
  • Excision (2012)
  • Equilibrium (2002) [Dystopia]
  • Divergent (2014)
  • The Maze Runner (2014)
  • Tombstone (1993) [1880s]
  • Back to School (1986)
  • Homeroom (2021)
  • Home Room (2002)
  • Runaway Jury (2003)
  • Die Hard (1988) [Skyscraper]
  • The Longest Day (1962) [Eucharist]
  • Silence (2016) [Eucharist]
  • The Mission (1986) [Eucharist]
  • Of Gods and Men (2010) [Eucharist]
  • Ben-Hur (1959) [Religious, Julius Caesar, Eucharist]
  • Temple Grandin (2010) [Humane livestock]
  • 毒舌大狀 (2023) [Legal drama]
  • 給十九歲的我 (2022)
  • The Bridge (2006) [Suicide]
  • War of the Worlds (2005)
  • Munich (2005)
  • Citizen Kane [Journalism]
  • Happy Accidents (2000) [Serendipity]
  • Ganja & Hess (1973) [Vampire]
  • Last Tango in Paris (1972) [Apartment]
  • The Dissident (2020) [Journalist]
  • Cruel Intentions (1999) [Reese Witherspoon]
  • Walk the Line (2005) [Reese Witherspoon]
  • The Rock (1996) [Sean Connery]
  • Dawn of the Dead (2004)
  • Role Models (2008)
  • Lady Jane (1986) [Lady Jane Grey, England]
  • Lawless (2012) [Depression-era]
  • Three Billboards Outside Ebbing, Missouri (2017) [Mother’s boy]
  • The Green Mile (1999)
  • The Others (2001)
  • The Shining (1980) [Psychic]
  • The Sixth Sense (1999) [Psychic]
  • The Hospital (1971) [Medical drama]
  • Nil by Mouth (1997), Straw Dogs (1971), Deliverance (1972), Brick (2005) [Gritty]
  • Stigmata (1999) [Catholic Church]
  • Dominion (2018) [Animal abuse]
  • Cowspiracy: The Sustainability Secret (2014) [Animal abuse]
  • Office Space (1999) [Office]
  • A Few Good Men (1992) [lawyer]
  • The Internet’s Own Boy: The Story of Aaron Swartz (2014) [Federal Prosecutor]
  • Adaptation (2002) [Hack writer, Potboiler]
  • Ready to Wear (1994)
  • Doubt (2008) [Nun]
  • Band of Angels (1957)
  • Populaire (2012) [Typewriter]
  • Sherwood (2022) [Labor]
  • Stonewalling (2022)
  • Suffragette (2015) [Suffragette, England]
  • The Last Kingdom (2015–2022) [England]
  • The Favourite (2018) [England]
  • Mary Queen of Scots (2018) [England]
  • Mary, Queen of Scots (1971) [England]
  • Apocalypse Now (1979) [Vietnam War]
  • Platoon (1986) [Vietnam War]
  • Born on the Fourth of July (1989) [Vietnam War]
  • Heaven & Earth (1993) [Vietnam War]
  • The Killing Fields (1984) [Khmer Rouge]
  • Troy (2004) [Greek myth]
  • 300 (2006) [Greek myth]
  • Miss Sloane (2016) [Lobbying]
  • Yesterday, Today and Tomorrow (1963) [Temptation]
  • All Quiet on the Western Front (1930)
  • 千言萬語 (1999)
  • 超級大國民 (1995)
  • The Patriot (2000)
  • 无极 (2005)
  • Babel (2006)
  • 父子情 (1981)
  • All the President’s Men (1976)
  • 黎明之前 (2010)
  • 东宫西宫 (1996)
  • 三五成群 (1997)
  • A Streetcar Named Desire (1951)
  • Duel (1971)
  • 黒革の手帖 (2017)

2023

  • 6月12日 The Departed (2006)
  • 6月11日 Lady Bird (2017) [Joan Didion, Sacramento, Tuition, Go to college]
  • 6月7日 The Parent Trap (1998)
  • 6月3日 Bad Teacher (2011) [Middle School]
  • 5月29日 胭脂扣 (1987) [Courtesan]
  • 5月29日 The Hunger Games (2012) [Dystopia]
  • 5月28日 Harry Potter and the Sorcerer’s Stone (2001) [Residential college]
  • 5月27日 Carrie (1976) [Discrimination]
  • 5月22日 To Kill a Mockingbird (1962) [Small town, Alabama, Racial discrimination]
  • 5月20日 Confessions Of A Shopaholic (2009) [Credit Card, Shopaholic]
  • 5月17日 Rabid (2019) [Melodramatic, Scarface, Fashion Industry]
  • 5月13日 Freaky Friday (2003) [Bullying in teaching]
  • 5月9日 圣诞玫瑰 (2013) [Legal drama, Sexual harrassment, Indecent assault, Molest]
  • 5月7日 Oliver Twist (2005)
  • 5月4日 The Other Boleyn Girl (2008) [Anne Boleyn, England, Sister]
  • 5月2日 Wild (2014) [Feminist]
  • 4月28日 You Only Live Twice (1967) [Interracial]
  • 4月27日 Cry (2005) [posh boarding school]
  • 4月23日 殭屍 (2013)
  • 4月20日 Shattered Glass (2003) [Journalist]
  • 4月19日 Shutter Island (2010) [Mental illness]
  • 4月19日 Lost in Translation (2003) [Language barrier, Midlife crisis]
  • 4月18日 Network (1976) [News presenter, Anchor]
  • 4月18日 Anchorman The Legend of Ron Burgundy (2004) [News presenter, Anchor]
  • 4月16日 Dark Water (2005) [Haunted, Divorce, Custody battle, Child abandonment]
  • 4月15日 Awake (2007) [Surgery]
  • 4月14日 Se7en (1995) [Cynical, Antinatalism, Misanthropy, Gritty]
  • 4月14日 One Missed Call (2003) [Factitious disorder imposed on another]
  • 4月13日 Catch Me If You Can (2002) [Impostor, Forgery, Bogus, Child abandonment]
  • 4月12日 The Bridge on the River Kwai (1957)
  • 4月11日 Primal Fear (1996) [lawyer, Prosecutor, Feigned madness]
  • 4月11日 Witness for the Prosecution (1957) [Jury]
  • 4月11日 12 Angry Men (1957) [Jury, Dialogue Driven]
  • 4月10日 正義迴廊 (2022) [Jury, Legal drama]
  • 4月9日 Bombshell (2019) [Anchor, Sexual harassment]
  • 4月7日 异度空间 (2002) [Haunted]
  • 4月5日 Audition (1999) [Splatter]
  • 4月5日 Shutter (2004) [Paranormal, Haunted, Bullying, Sexual assault]
  • 4月4日 The Eye (2002) [Haunted, Social exclusion, Discrimination, Social Isolation on Children]
  • 4月4日 The Grudge (2004) [Haunted, Domestic violence]
  • 4月3日 Meat Grinder (2009) [Slasher, Splatter, Abandonment, Childhood trauma]
  • 3月31日 One Flew Over the Cuckoo’s Nest (1975)
  • 3月26日 Mean Girls (2004) [Girl World, High School, Indulgent parent, Bully comeuppance]
  • 3月25日 The Shawshank Redemption (1994)
  • 3月21日 St. Vincent (2014) [Misanthropic, Catholic School, Vietnam War]
  • 3月16日 The Ring (2002) [Haunted]
  • 3月11日 Rushmore (1998)
  • 1月18日 男人四十 (2002)

2022

  • 10月05日 The Last Emperor (1987)
  • 10月06日 Forrest Gump (1994)
  • 10月09日 Phantom Thread (2017)
    • Homeland.S01
  • 10月12日 神探大戰 (2022)
  • 10月25日 排骨 (2005)
  • 09月25日 大宅门 (2000)
  • 08月06日 感官世界 愛のコリーダ (1976)
  • 08月10日 Hercules (1997)
  • 08月24日 無間道 (2002)
    • 無間道II (2003)
  • 08月31日 Annihilation (2018)
  • 07月10日 Doctor Strange in the Multiverse of Madness (2022)
  • 07月11日 X (2022)
  • 07月17日 火锅英雄 (2016)
  • 07月18日 巴爾扎克與小裁縫 (2002)
  • 07月28日 Crisis Jung (2018)
  • 06月04日 颐和园 (2006)
  • 06月09日 老笠 (2015)
  • 06月11日
    • 李碧華鬼魅系列:迷離夜 (2013)
    • 李碧華鬼魅系列:奇幻夜 (2013)
  • 06月20日 股疯 (1994)
  • 06月28日 大時代 (1992)
  • 05月01日 American Psycho (2000)
  • 05月02日 听风者 (2012)
  • 05月19日 潜伏 (2009)
  • 05月23日 迴轉壽屍 (1997)
  • 05月29日 一念無明 (2016)
  • 04月02日 Les filles du botaniste (2006)
  • 04月09日 黑雾 (2003)
  • 04月10日 饺子 (2004)
  • 04月11日 港督最後一個保鑣 (1996)
  • 04月13日 芳香之旅 (2006)
  • 04月16日 风声 (2009)
  • 04月22日 冰毒 (2014)
  • 04月25日 樹大招風 (2016)
  • 04月30日 重案組 (1993)
  • 03月03日 Jack and the Cuckoo-Clock Heart (2013)
    • Alice in Wonderland (1951)
  • 03月12日 山楂树之恋 (2010)
    • Spider-Man: No Way Home (2021)
  • 03月17日 黄蜂尾后针 (1993)
  • 03月18日 The Secret Life of Cats (2014)
  • 03月22日 天道 (2007)
  • 03月24日 肥龍過江 (1978)
  • 03月25日 Alice in Wonderland (2010)
  • 03月27日 黑冰 (2001)
  • 02月01日 幼儿园 (2004)
  • 02月02日 The Last Seduction (1994)
  • 02月04日 Cam (2018)
  • 02月05日 Poltergeist (1982) [Paranormal]
    • 志明與春嬌 (2010)
  • 02月06日 腿 (2020)
  • 02月12日 Office有鬼 (2002)
  • 02月15日 同學麥娜絲 (2020)
  • 02月17日 春嬌與志明 (2012)
  • 02月19日 满城尽带黄金甲 (2006)
    • Texas Chainsaw Massacre (2022)
  • 02月20日 大腕 (2001)
    • The Human Centipede (2009)
    • The Human Centipede II (2011)
  • 02月25日 文雀 (2008)
  • 01月02日 瘋劫 (1979)
  • 01月17日 武俠七公主 (1993)
  • 01月19日 Don’t Look Up (2021)
  • 01月29日 One Child Nation (2019)

2021

  • 12月02日 神勇雙妹嘜 (1989)
  • 12月03日 吉屋藏娇 (1988)
  • 12月04日 賭霸 (1991)
  • 12月06日 殭屍叔叔 (1988)
  • 12月11日 獨臂刀 (1967)
  • 12月12日 三人世界 (1988)
  • 12月17日 靈幻先生 (1987)
  • 12月20日 你情我願 (1986)
  • 12月22日 十年 (2015)
  • 12月23日 黑社會 (2005)
    • 黑社會以和為貴 (2006)
  • 12月26日 慳錢家族 (2002)
    • 花桥荣记 (1998)
  • 12月27日 好极了 (2017)
  • 12月28日 法中情 (1988)
  • 12月29日 美男子 (1987)
  • 12月31日 黃飛鴻對黃飛鴻 (1993)
  • 11月01日 黑獄斷腸歌之砌生豬肉 (1997)
    • 黑獄斷腸歌II無期徒刑 (2000)
  • 11月02日 92黑玫瑰對黑玫瑰 (1992)
  • 11月03日 八星報喜 (1988)
  • 11月07日 杀瓜 (2017)
  • 11月10日 東方三俠 (1993)
  • 11月11日 Shang-Chi and the Legend of the Ten Rings (2021)
  • 11月12日 原諒他77次 (2017)
  • 11月13日 四级杀人狂 (1995)
  • 11月14日 白髮魔女傳 (1993)
    • 白髮魔女2 (1993)
  • 11月15日 表姐,你好嘢!3之大人驾到 (1992)
  • 11月16日 表姐,你好嘢!2 (1991)
  • 11月17日 表姐,妳好嘢!4之情不自禁 (1994)
  • 11月19日 撞邪先生 (1988)
    • 最佳損友 (1988)
  • 11月20日 表哥我來也 (1991)
  • 11月22日 表姐,妳玩野! (1991)
  • 11月29日 殭屍家族 (1986)
  • 11月30日 我愛扭紋柴 (1992)
  • 10月28日 極度獸性 (1996)
  • 10月29日 中國O記之血腥情人 (1996)
    • O記三合會檔案 (1999)
  • 10月31日 沙甸魚殺人事件 (1994)

JVM

适用于JDK 7, 8

utf8

-Dfile.encoding=UTF8

Tuning

Heap Parameters

-Xms, -Xmx

-Xms4g -Xmx4g

-Xms Setting initial and minimum heap size
-Xmx Setting maximum heap size

The -Xms and -Xmx parameters define the minimum and maximum heap sizes, respectively. Since GC occurs when the generations fill up, throughput is inversely proportional to the amount of the memory available. By default, the JVM grows or shrinks the heap at each GC to try to keep the proportion of free space to the living objects at each collection within a specific range. This range is set as a percentage by the parameters -XX:MinHeapFreeRatio=minimum and -XX:MaxHeapFreeRatio=maximum; and the total size bounded by -Xms and -Xmx.

Set the values of -Xms and -Xmx equal to each other for a fixed heap size. When the heap grows or shrinks, the JVM must recalculate the old and new generation sizes to maintain a predefined NewRatio.

Setting a low maximum heap value compared to the amount of live data decrease performance by forcing frequent garbage collections.

Oracle recommends setting the minimum heap size (-Xms) equal to the maximum heap size (-Xmx) to minimize garbage collections.

-XX:NewRatio=ratio

Ratio of old/new generation sizes. The default value is 2.

By default, the young generation size is controlled by the parameter NewRatio. For example, setting -XX:NewRatio=3 means that the ratio between the young and tenured generation is 1:3. In other words, the combined size of the eden and survivor spaces will be one-fourth of the total heap size.

-XX:PermSize=size, -XX:MaxPermSize=size

PS Old Gen

Sets the maximum permanent generation space size (in bytes). This option was deprecated in JDK 8, and superseded by the -XX:MaxMetaspaceSize option.

-XX:NewSize=size, -XX:MaxNewSize=size

PS Eden Gen

Sets the maximum size (in bytes) of the heap for the young generation (nursery). The default value is set ergonomically.

The NewSize and MaxNewSize parameters control the new generation’s minimum and maximum size. Regulate the new generation size by setting these parameters equal. The bigger the younger generation, the less often minor collections occur.

-XX:SurvivorRatio=ratio

Sets the ratio between eden space size and survivor space size. By default, this option is set to 8.

The SurvivorRatio parameter controls the size of the two survivor spaces. For example, -XX:SurvivorRatio=6 sets the ratio between each survivor space and eden to be 1:6, each survivor space will be one eighth of the young generation. The default for Solaris is 32. If survivor spaces are too small, copying collection overflows directly into the old generation. If survivor spaces are too large, they will be empty. At each GC, the JVM determines the number of times an object can be copied before it is tenured, called the tenure threshold. This threshold is chosen to keep the survivor space half full.

-XX:+PrintTenuringDistribution

Use the option -XX:+PrintTenuringDistribution to show the threshold and ages of the objects in the new generation. It is useful for observing the lifetime distribution of an application.

Xss

Sets the thread stack size (in bytes). This option is equivalent to -XX:ThreadStackSize.
https://www.eclipse.org/openj9/docs/xss/

Monitoring

Monitoring and Managing Java SE 6 Platform Applications

jps, jinfo, jmap, jstat, jhat, jstack

jps -m -l -v
jmap -heap pid

JConsole

The JConsole graphical user interface is a monitoring tool that complies with the Java Management Extensions (JMX) specification. JConsole uses the extensive instrumentation of the Java Virtual Machine (Java VM) to provide information about the performance and resource consumption of applications running on the Java platform.
https://docs.oracle.com/en/java/javase/11/management/using-jconsole.html

jvisualvm

VisualVM is a visual tool integrating commandline JDK tools and lightweight profiling capabilities.
Designed for both development and production time use.

MBean

An MBean is a managed Java object, similar to a JavaBeans component, that follows the design patterns set forth in the JMX specification. An MBean can represent a device, an application, or any resource that needs to be managed.
https://docs.oracle.com/javase/tutorial/jmx/mbeans/standard.html

Log4j

Log4j 1.X 配置

properties 格式

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Root logger option
log4j.rootLogger=INFO, file, stdout

# Direct log messages to a log file
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=C:\\logging.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=10
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n

# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n

XML 格式

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
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration debug="true" xmlns:log4j='http://jakarta.apache.org/log4j/'>

<appender name="console" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n" />
</layout>
</appender>

<appender name="file" class="org.apache.log4j.RollingFileAppender">
<param name="append" value="false" />
<param name="maxFileSize" value="10MB" />
<param name="maxBackupIndex" value="10" />
<param name="file" value="${catalina.home}/logs/myStruts1App.log" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n" />
</layout>
</appender>

<root>
<level value="DEBUG" />
<appender-ref ref="console" />
<appender-ref ref="file" />
</root>

</log4j:configuration>

Log4j 2.X 配置

Configuring

Log4j has the ability to automatically configure itself during initialization. When Log4j starts it will locate all the ConfigurationFactory plugins and arrange them in weighted order from highest to lowest. As delivered, Log4j contains four ConfigurationFactory implementations: one for JSON, one for YAML, one for properties, and one for XML.

Log4j will provide a default configuration if it cannot locate a configuration file. The default configuration, provided in the DefaultConfiguration.class, will set up: A ConsoleAppender attached to the root logger. A PatternLayout set to the pattern "%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" attached to the ConsoleAppender

Note that by default Log4j assigns the root logger to Level.ERROR.

Appenders

Layouts

1
2
3
4
5
6
7
8
9
10
additivity

monitorInterval

d|date{pattern}
T|tid|threadId
t|tn|thread|threadName
p|level{level=label, level=label, ...} p|level{length=n} p|level{lowerCase=true|false}
c{precision} | logger{precision}
C{precision} | class{precision}

示例

仅输出至控制台

1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="error">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>

输出至文件,参考一

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
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%style{%d{HH:mm:ss.SSS}}{black} [%style{%t}{bright,blue}] %highlight{%p} %style{%c}{bright,yellow}: %m%n%throwable"/>
</Console>

<RollingFile name="RollingFile" fileName="${sys:logDir}/log4j2.log" filePattern="${sys:logDir}/logs/$${date:yyyy-MM}/log4j2-%d{-dd-MMMM-yyyy}-%i.log.gz">
<PatternLayout>
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<OnStartupTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>
</Appenders>

<Loggers>
<Root level="DEBUG">
<AppenderRef ref="Console"/>
<AppenderRef ref="RollingFile"/>
</Root>
<Logger name="sendSMS" level="DEBUG">
<AppenderRef ref="Console"/>
<AppenderRef ref="RollingFile"/>
</Logger>
</Loggers>

</Configuration>

输出至文件,参考二

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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?xml version="1.0" encoding="UTF-8"?>
<Configuration monitorInterval="100">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%style{%d{HH:mm:ss.SSS}}{black} [%style{%t}{bright,blue}] %highlight{%p} %style{%c}{bright,yellow}: %m%n%throwable"/>
</Console>

<RollingFile name="MainRollingFile"
fileName="${sys:logDir}/jjzx.log"
filePattern="${sys:logDir}/$${date:MM}/main/%d{dd}-jjzx-%i.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<OnStartupTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>

<!-- 缓存管理 -->
<RollingFile name="CacheRedisUtilsRollingFile"
fileName="${sys:logDir}/cache-redisUtils.log"
filePattern="${sys:logDir}/$${date:MM}/cache/%d{dd}-redisUtils-%i.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>

<!-- 查询日志 -->
<RollingFile name="SearchLogScoreRollingFile" fileName="${sys:logDir}/searchLog-score.log"
filePattern="${sys:logDir}/$${date:MM}/searchLog/%d{dd}-score-%i.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>
<RollingFile name="SearchLogOtherScoreRollingFile"
fileName="${sys:logDir}/searchLog-otherScore.log"
filePattern="${sys:logDir}/$${date:MM}/searchLog/%d{dd}-otherScore-%i.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>
<RollingFile name="SearchLogVolunteerRollingFile"
fileName="${sys:logDir}/searchLog-volunteer.log"
filePattern="${sys:logDir}/$${date:MM}/searchLog/%d{dd}-volunteer-%i.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>
<RollingFile name="SearchLogAdmissionRollingFile"
fileName="${sys:logDir}/searchLog-admission.log"
filePattern="${sys:logDir}/$${date:MM}/searchLog/%d{dd}-admission-%i.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<SizeBasedTriggeringPolicy size="10 MB"/>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>

<!-- 推送日志 -->
<RollingFile name="PushLogScoreRollingFile"
fileName="${sys:logDir}/pushLog-score.log"
filePattern="${sys:logDir}/$${date:MM}/pushLog/%d{dd}-score.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>

<!-- 后台操作日志 -->
<RollingFile name="BgRequestRollingFile"
fileName="${sys:logDir}/bg-request.log"
filePattern="${sys:logDir}/$${date:MM}/bg/%d{dd}-request.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>
<RollingFile name="BgLoginRollingFile"
fileName="${sys:logDir}/bg-login.log"
filePattern="${sys:logDir}/$${date:MM}/bg/%d{dd}-login.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>
<RollingFile name="BgGuanggaoRollingFile"
fileName="${sys:logDir}/bg-guanggao.log"
filePattern="${sys:logDir}/$${date:MM}/bg/%d{dd}-guanggao.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>
<RollingFile name="BgZixunRollingFile"
fileName="${sys:logDir}/bg-zixun.log"
filePattern="${sys:logDir}/$${date:MM}/bg/%d{dd}-zixun.log">
<PatternLayout charset="GBK">
<pattern>%d{HH:mm:ss.SSS} [%t] %p %c %m%n</pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy/>
</Policies>
</RollingFile>

</Appenders>

<Loggers>
<Root level="INFO">
<AppenderRef ref="Console"/>
<AppenderRef ref="MainRollingFile"/>
</Root>

<!-- 缓存管理 -->
<Logger name="cache.RedisUtils" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="CacheRedisUtilsRollingFile"/>
</Logger>

<!-- 查询日志 -->
<Logger name="searchLog.score" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="SearchLogScoreRollingFile"/>
</Logger>
<Logger name="searchLog.otherScore" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="SearchLogOtherScoreRollingFile"/>
</Logger>
<Logger name="searchLog.volunteer" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="SearchLogVolunteerRollingFile"/>
</Logger>
<Logger name="searchLog.admission" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="SearchLogAdmissionRollingFile"/>
</Logger>

<!-- 推送日志 -->
<Logger name="pushLog.score" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="PushLogScoreRollingFile"/>
</Logger>

<!-- 后台操作日志 -->
<Logger name="bg.Request" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="BgRequestRollingFile"/>
</Logger>
<Logger name="bg.Login" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="BgLoginRollingFile"/>
</Logger>
<Logger name="bg.Guanggao" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="BgGuanggaoRollingFile"/>
</Logger>
<Logger name="bg.Zixun" level="INFO" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="BgZixunRollingFile"/>
</Logger>
</Loggers>

</Configuration>

中国经济

术语

可支配收入

国民经济和社会发展统计公报

居民收入和消费支出情况

居民消费价格指数

国内生产总值

2021

2020

2019

2018

2017

2016

2015