› Foros › PC › Software libre
mono [ruta del ejecutable de Rainy] -c [ruta del fichero de configuración de Rainy]
# This file is basically JSON but allowes comment lines that
# start with the # character. Additionally, keys need not to be
# enclosed by quotes.
# Besides those exceptions this file MUST be valid JSON or the
# program will fail.
# Rainy configuration
{
# the Url, containing IP address or hostname and port on which to listen
# if the wildcard "*" is used, we listen on all addresses
#
# If https is used, SSL certs will be created
# You can also use --cert/--pvk to specify your own generated
# certs created by the 'makecert' tool
#
# Note: The port is not optional but must be present for every url!
#
ListenUrl: "http://*:9999/",
# the path used for data storage (notes, metadata, ssl certs),
# must be writable.
# if empty, the current directory is used
DataPath: "./data/",
# the backend to use, if empty the sqlite backend
# is used.
#
# The sqlite backend writes everything, notes and metadata,
# into a single sqlite3 database file. Recommended for
# medium sized installations with hundreds of users.
Backend: "sqlite",
# PostgreSQL backend, use for maximum DB loads
#Backend: "postgre",
# config for PostgreSQL database
Postgre: {
Username: "rainy",
Password: "rainy",
Host: "localhost",
Port: 5432
},
# password for the administration web interface
AdminPassword: "abcd",
# Multi-user configuration
#
# whether new users can signup
AllowSignup: false,
# required new signed up users to be activated by an administrator?
RequireModeration: true,
# Enables development features, only enable if you know what
# you are doing!
Development: false
}
14/06/11_17:15:04.862 [DEBUG] Main->SetupLogging - logsystem initialized
14/06/11_17:15:05.018 [DEBUG] Main->SetupLogging - Writing all log messages to file: debug.log
14/06/11_17:15:06.002 [DEBUG] Rainy.RainyStandaloneServer->Start - starting http listener at: http://*:9999/
Press return to stop Rainy
14/06/11_17:17:08.503 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Received request at: /api/1.0
Deserialized data (JSV):
{
}
14/06/11_17:17:08.519 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Received request headers:
14/06/11_17:17:08.519 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Host: localhost:9999
14/06/11_17:17:08.519 [DEBUG] Rainy.WebService.RequestLogFilterAttribute->RequestFilter - Connection: Keep-Alive
14/06/11_17:17:08.565 [DEBUG] Rainy.WebService.ApiService->Get - ApiRequest received
14/06/11_17:17:08.581 [DEBUG] Rainy.WebService.ResponseLogFilterAttribute->ResponseFilter - Unserialized response data to send (JSV):
{
user-ref:
{
api-ref: "http://localhost:9999/api/1.0/",
href: "http://localhost:9999/"
},
oauth_request_token_url: "http://localhost:9999/oauth/request_token",
oauth_authorize_url: "http://localhost:9999/oauth/authorize/",
oauth_access_token_url: "http://localhost:9999/oauth/access_token",
api-version: 1.0
}
14/06/11_17:17:10.347 [DEBUG] Rainy.WebService.OAuth.OAuthRequestTokenService->Get - granting request token oauth_token=b334a9c31159d19925efd27693e41ae4&oauth_token_secret=8218186e16262c6615f3b738da423e00&oauth_callback_confirmed=true to consumer
14/06/11_17:17:10.378 [DEBUG] Rainy.ErrorHandling.ExceptionHandler->HandleException - The object was used after being disposed.
14/06/11_17:17:10.378 [DEBUG] Rainy.ErrorHandling.ExceptionHandler->LogExceptionDetails - at System.Net.HttpListenerResponse.set_StatusCode (int) [0x00057] in C:\cygwin\sources\mono\mcs\class\System\System.Net\HttpListenerResponse.cs:221at ServiceStack.WebHost.Endpoints.Extensions.HttpListenerResponseWrapper.set_StatusCode (int) <IL 0x00007, 0x0001b>at Rainy.WebService.OAuth.OAuthRequestTokenService.Get (Rainy.WebService.OAuth.OAuthRequestTokenRequest) [0x00057] in /home/timo/Rainy/Rainy/WebService/OAuth/OAuthService.cs:54at Rainy.WebService.OAuth.OAuthRequestTokenService.Post (Rainy.WebService.OAuth.OAuthRequestTokenRequest) [0x00001] in /home/timo/Rainy/Rainy/WebService/OAuth/OAuthService.cs:62 at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object,object) <IL 0x00000, 0x0004f> at ServiceStack.ServiceHost.ServiceRunner`1<Rainy.WebService.OAuth.OAuthRequestTokenRequest>.Execute (ServiceStack.ServiceHost.IRequestContext,object,Rainy.WebService.OAuth.OAuthRequestTokenRequest) <0x001de>