-
Notifications
You must be signed in to change notification settings - Fork 3
/
App.config
43 lines (39 loc) · 1.6 KB
/
App.config
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
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<appSettings>
<add key="StorageAccountName" value="your-cluster-storage-account-name"/>
<add key="StorageAccountEndpointSuffix" value="core.windows.net"/>
<add key="StorageAccountKey" value="your-cluster-storage-account-key"/>
<!-- Use the HDInsightManagementCLI with 'l' or 'ls' command to get the prefix of your cluster log table-->
<add key="StorageAccountTableNamePrefix" value="your-cluster-log-table-prefx"/>
<add key="StorageAccountTableName" value=""/>
<add key="ClusterOperatingSystemType" value="Linux"/>
</appSettings>
<log4net>
<appender name="Console" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d %-5p %C.%method - %m%n" />
</layout>
</appender>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="HDInsightManagementCLI.log" />
<appendToFile value="true" />
<maximumFileSize value="10MB" />
<maxSizeRollBackups value="3" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d %-5p %C.%M - %m%n" />
</layout>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="Console" />
<appender-ref ref="RollingFile" />
</root>
</log4net>
</configuration>